From c7d2b1ad2a9b598d01e32b0f9e5fdca1bbc1e3c9 Mon Sep 17 00:00:00 2001 From: Ravi Singal Date: Mon, 12 Aug 2024 12:24:29 +0530 Subject: [PATCH] update step condition --- .github/workflows/update-docker-args.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-docker-args.yml b/.github/workflows/update-docker-args.yml index d410f2a..b09a7a2 100644 --- a/.github/workflows/update-docker-args.yml +++ b/.github/workflows/update-docker-args.yml @@ -51,7 +51,7 @@ 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 }} @@ -59,7 +59,7 @@ jobs: 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 }}