diff --git a/.github/workflows/update_galata_references.yml b/.github/workflows/update_galata_references.yml index 7b97243..34edd91 100644 --- a/.github/workflows/update_galata_references.yml +++ b/.github/workflows/update_galata_references.yml @@ -15,7 +15,12 @@ defaults: jobs: update-reference-screenshots: name: Update Galata References - if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'update galata references') }} + if: > + ( + github.event.comment.author_association == 'OWNER' || + github.event.comment.author_association == 'COLLABORATOR' || + github.event.comment.author_association == 'MEMBER' + ) && github.event.issue.pull_request && contains(github.event.comment.body, 'please update snapshots') runs-on: ubuntu-latest steps: