diff --git a/.github/workflows/count-2.yml b/.github/workflows/count-2.yml index a54fc23cb..ed479ed9c 100644 --- a/.github/workflows/count-2.yml +++ b/.github/workflows/count-2.yml @@ -66,18 +66,18 @@ jobs: - name: PR finder steps: - - uses: actions/checkout@v1 - # Find the PR associated with this push, if there is one. - - uses: jwalton/gh-find-current-pr@v1 - id: findPr - with: - # Can be "open", "closed", or "all". Defaults to "open". - state: open - # This will echo "Your PR is 7", or be skipped if there is no current PR. - - run: echo "Your PR is ${PR}" - if: success() && steps.findPr.outputs.number - env: - PR: ${{ steps.findPr.outputs.pr }} + - uses: actions/checkout@v1 + # Find the PR associated with this push, if there is one. + - uses: jwalton/gh-find-current-pr@v1 + id: findPr + with: + # Can be "open", "closed", or "all". Defaults to "open". + state: open + # This will echo "Your PR is 7", or be skipped if there is no current PR. + - run: echo "Your PR is ${PR}" + if: success() && steps.findPr.outputs.number + env: + PR: ${{ steps.findPr.outputs.pr }} # - name: Comment Code Line Diff # continue-on-error: false