diff --git a/.github/workflows/cr-comment.yml b/.github/workflows/cr-comment.yml index b0ffd2bcb137..d6b817904f15 100644 --- a/.github/workflows/cr-comment.yml +++ b/.github/workflows/cr-comment.yml @@ -8,7 +8,7 @@ permissions: pull-requests: write jobs: - cr_comment: + label: 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