diff --git a/.github/workflows/takt-action.yml b/.github/workflows/takt-action.yml index ea956b9..58e9db5 100644 --- a/.github/workflows/takt-action.yml +++ b/.github/workflows/takt-action.yml @@ -6,7 +6,13 @@ on: jobs: takt: - if: contains(github.event.comment.body, '@takt') + if: | + contains(github.event.comment.body, '@takt') && + github.event.comment.author_association == 'OWNER' + # Uncomment to allow organization members: + # || github.event.comment.author_association == 'MEMBER' + # Uncomment to allow collaborators: + # || github.event.comment.author_association == 'COLLABORATOR' runs-on: ubuntu-latest permissions: issues: write