Skip to content

Commit

Permalink
update step condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisingal committed Aug 12, 2024
1 parent 94dfba2 commit c7d2b1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-docker-args.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ jobs:
branch-suffix: timestamp

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

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

0 comments on commit c7d2b1a

Please sign in to comment.