hotfix: change permissions for /deploy-pr comment (#8597)

This commit is contained in:
Ben Potter
2023-07-19 17:02:51 +00:00
committed by GitHub
parent acc12d3426
commit b4bb77f2f3
+1 -1
View File
@@ -22,7 +22,7 @@ concurrency:
jobs:
pr_commented:
if: github.event_name == 'issue_comment' && contains(github.event.comment.body, '/deploy-pr') && github.event.comment.author_association == 'MEMBER' || github.event_name == 'workflow_dispatch'
if: (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/deploy-pr') && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'OWNER')) || github.event_name == 'workflow_dispatch'
outputs:
PR_NUMBER: ${{ steps.pr_number.outputs.PR_NUMBER }}
PR_TITLE: ${{ steps.pr_number.outputs.PR_TITLE }}