Skip to content

Commit 549a0bb

Browse files
authored
Merge pull request #18 from kapildev421/patch-2
Fix-PR-workflow
2 parents dde9ec8 + 0988fe8 commit 549a0bb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/approval-worker.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ name: Approval Check Worker
33
on:
44
issue_comment:
55
types: [created]
6-
6+
77
jobs:
88
run-when-command:
9-
if: >
10-
github.event.issue.pull_request != null &&
11-
(contains(github.event.comment.body, '/review') || contains(github.event.comment.body, 'review'))
9+
if: "github.event.issue.pull_request != null && (contains(github.event.comment.body, '/review') || contains(github.event.comment.body, 'review'))"
1210
runs-on: ubuntu-latest
1311
permissions:
1412
contents: read
@@ -44,8 +42,9 @@ jobs:
4442
pull-requests: write
4543
statuses: write
4644
issues: write
47-
uses: tetherto/qvac-devops/.github/workflows/approval-check-worker.yml@temp-pr-workflow-new
45+
uses: tetherto/qvac-devops/.github/workflows/approval-check-worker.yml@production-workflows-tag
4846
secrets: inherit
4947
with:
5048
pr_number: ${{ fromJSON(needs.run-when-command.outputs.number) }}
5149
pr_sha: ${{ needs.run-when-command.outputs.sha }}
50+

0 commit comments

Comments
 (0)