Skip to content

Commit d69b833

Browse files
committed
✏️ merge only workflow PR
1 parent 6f9ee67 commit d69b833

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
6767
# Create or update PR for metadata
6868
- name: Create or update Pull Request
69+
id: cpr
6970
uses: peter-evans/create-pull-request@v3
7071
with:
7172
token: ${{ secrets.REPO_PUSH_TOKEN }}
@@ -78,6 +79,7 @@ jobs:
7879

7980
# Automatically merge the PR if possible
8081
- name: Auto-merge PR
82+
if: steps.cpr.outputs.pull-request-operation == 'created'
8183
uses: peter-evans/enable-pull-request-automerge@v3
8284
with:
8385
token: ${{ secrets.REPO_PUSH_TOKEN }}

0 commit comments

Comments
 (0)