ci: stricter conditions

pull/4066/head
Divyansh Singh 2 months ago
parent cf6e8bb552
commit d0169506da

@ -9,7 +9,7 @@ permissions:
jobs:
cr_comment:
if: ${{ github.event.issue.pull_request && (github.event.comment.user.id == github.event.issue.user.id || contains('OWNER,MEMBER,COLLABORATOR', github.event.comment.author_association)) && startsWith(github.event.comment.body, '/publish') }}
if: ${{ github.event.issue.pull_request && (github.event.comment.user.id == github.event.issue.user.id || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR') && startsWith(github.event.comment.body, '/publish') }}
runs-on: ubuntu-latest
steps:

Loading…
Cancel
Save