diff --git a/.github/workflows/scdiff.yml b/.github/workflows/scdiff.yml index 3dd02033..7ffc03e6 100644 --- a/.github/workflows/scdiff.yml +++ b/.github/workflows/scdiff.yml @@ -1,7 +1,7 @@ name: scdiff PR evaluation on: issue_comment: - types: [created, edited] + types: [created] permissions: read-all @@ -61,7 +61,7 @@ jobs: uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1 with: script: | - const allowedAssociations = ["COLLABORATOR", "MEMBER", "OWNER"]; + const allowedAssociations = ["COLLABORATOR", "CONTRIBUTOR", "MEMBER", "OWNER"]; authorAssociation = '${{ github.event.comment.author_association }}' if (!allowedAssociations.includes(authorAssociation)) { core.setFailed("You don't have access to run scdiff");