Skip to content

Commit

Permalink
Do not run CLA workflow for COLLABORATORs
Browse files Browse the repository at this point in the history
Close #653
  • Loading branch information
dentarg committed Apr 5, 2024
1 parent 9448f92 commit d3c277a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# https://github.com/contributor-assistant/github-action needs permissions to
# - re-run workflows
# - comment in pull requests
# - update commit statuses
# - update commit statuses
permissions:
actions: write
pull-requests: write
Expand All @@ -18,7 +18,10 @@ permissions:
jobs:
CLAAssistant:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.author_association != 'MEMBER' && github.event.pull_request.author_association != 'OWNER' }}
if: |
(github.event.pull_request.author_association != 'MEMBER') &&
(github.event.pull_request.author_association != 'COLLABORATOR') &&
(github.event.pull_request.author_association != 'OWNER')
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
Expand Down

0 comments on commit d3c277a

Please sign in to comment.