mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
hotfix: change permissions for /deploy-pr comment (#8597)
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user