From 4f963d8ef1051603b9b275f2d4bd79dce4943ea9 Mon Sep 17 00:00:00 2001 From: Tom Kerkhove Date: Tue, 16 Jan 2024 12:37:42 +0100 Subject: [PATCH] fix: PR Bot has malformed workflow manifest (#5380) --- .github/workflows/pr-welcome.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-welcome.yml b/.github/workflows/pr-welcome.yml index d6c1be898e9..fee45ed3cdb 100644 --- a/.github/workflows/pr-welcome.yml +++ b/.github/workflows/pr-welcome.yml @@ -19,7 +19,7 @@ jobs: steps: - name: 'Add welcome comment on PR #${{ github.event.number }} (draft)' uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 - if: github.event_name == 'pull_request_target' && github.event.pull_request.action == "opened" && github.event.pull_request.draft + if: github.event_name == 'pull_request_target' && github.event.pull_request.action == 'opened' && github.event.pull_request.draft with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -31,7 +31,7 @@ jobs: }); - name: 'Add welcome comment on PR #${{ github.event.number }}' uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 - if: github.event_name == 'pull_request_target' && (github.event.pull_request.action == "opened" || github.event.pull_request.action == "ready_for_review") + if: github.event_name == 'pull_request_target' && (github.event.pull_request.action == 'opened' || github.event.pull_request.action == 'ready_for_review') with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -43,7 +43,7 @@ jobs: }); - name: 'Apply review required label' uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 - if: github.event_name == 'pull_request_target' && (github.event.pull_request.action == "opened" || github.event.pull_request.action == "ready_for_review") + if: github.event_name == 'pull_request_target' && (github.event.pull_request.action == 'opened'|| github.event.pull_request.action == 'ready_for_review') with: script: | github.rest.issues.addLabels({