diff --git a/.github/actions/handle-fix-commit/action.yaml b/.github/actions/handle-fix-commit/action.yaml index c3f39b3f..eb1d81af 100644 --- a/.github/actions/handle-fix-commit/action.yaml +++ b/.github/actions/handle-fix-commit/action.yaml @@ -55,14 +55,14 @@ runs: fi - name: No changes to apply - if: steps.check_changes.outputs.changes == 'false' && github.event.pull_request.number + if: steps.check_changes.outputs.changes == 'false' uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: message: 'No automatic ${{ inputs.tool }} fixes were necessary.' - name: Get PR maintainer_can_modify property id: pr-properties - if: steps.check_changes.outputs.changes == 'true' && github.event.pull_request.number + if: steps.check_changes.outputs.changes == 'true' uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | @@ -123,7 +123,7 @@ runs: exit 1 - name: Notify of commit - if: steps.commit_and_push.conclusion == 'success' && steps.commit_and_push.outputs.pushed == 'true' && github.event.pull_request.number + if: steps.commit_and_push.conclusion == 'success' && steps.commit_and_push.outputs.pushed == 'true' uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: message: | @@ -147,7 +147,7 @@ runs: path: ${{ inputs.working-directory }}/${{ steps.create_patch.outputs.patch_name }} - name: Comment with patch instructions - if: steps.create_patch.outputs.patch_name && github.event.pull_request.number + if: steps.create_patch.outputs.patch_name uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1 with: message: |