Skip to content

Commit c7d2b1a

Browse files
committed
update step condition
1 parent 94dfba2 commit c7d2b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/update-docker-args.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ jobs:
5151
branch-suffix: timestamp
5252

5353
- name: Enable Pull Request Automerge
54-
if: steps.args.outputs.digest != 'null'
54+
if: steps.create-pull-request.outputs.pull-request-number != ''
5555
uses: peter-evans/enable-pull-request-automerge@v3
5656
with:
5757
token: ${{ secrets.GITHUB_TOKEN }}
5858
pull-request-number: ${{ steps.create-pull-request.outputs.pull-request-number }}
5959
merge-method: squash
6060

6161
# - name: Approve Pull Request
62-
# if: steps.args.outputs.digest != 'null'
62+
# if: steps.create-pull-request.outputs.pull-request-number != ''
6363
# uses: juliangruber/approve-pull-request-action@v2
6464
# with:
6565
# github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)