ci: wrap with expression syntax for safety

pull/4076/head
Divyansh Singh 5 months ago
parent 017ed56a8a
commit 454410c1ca

@ -9,7 +9,7 @@ permissions:
jobs: jobs:
cr_comment: 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 || contains('OWNER,MEMBER,COLLABORATOR', github.event.comment.author_association)) && startsWith(github.event.comment.body, '/publish') }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

Loading…
Cancel
Save