Skip to content

Commit 2b5a4f6

Browse files
committed
fix action:使用其他的fork仓库来提pr
1 parent f95d9ed commit 2b5a4f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/plugin-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Auto Create PR on Main Push
33

44
on:
55
push:
6-
branches: [ main ] # Trigger on push to main
6+
branches: [main] # Trigger on push to main
77

88
jobs:
99
create_pr: # Renamed job for clarity
@@ -73,7 +73,7 @@ jobs:
7373
uses: actions/checkout@v3
7474
with:
7575
# Use author variable for repository
76-
repository: ${{steps.get_basic_info.outputs.author}}/dify-plugins
76+
repository: GYMmaorui/dify-plugins
7777
path: dify-plugins
7878
token: ${{ secrets.PLUGIN_ACTION }}
7979
fetch-depth: 1 # Fetch only the last commit to speed up checkout
@@ -128,7 +128,7 @@ jobs:
128128
run: |
129129
gh pr create \
130130
--repo langgenius/dify-plugins \
131-
--head "${{ steps.get_basic_info.outputs.author }}:${{ steps.get_basic_info.outputs.plugin_name }}-${{ steps.get_basic_info.outputs.version }}" \
131+
--head "GYMmaorui:bump-${{ steps.get_basic_info.outputs.plugin_name }}-${{ steps.get_basic_info.outputs.version }}" \
132132
--base main \
133133
--title "bump ${{ steps.get_basic_info.outputs.plugin_name }} plugin to version ${{ steps.get_basic_info.outputs.version }}" \
134134
--body "bump ${{ steps.get_basic_info.outputs.plugin_name }} plugin package to version ${{ steps.get_basic_info.outputs.version }}

0 commit comments

Comments
 (0)