Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@ name: "CLA Assistant"
on:
issue_comment:
types: [created, edited]
pull_request:
types: [opened,closed,synchronize]
pull_request_target:
types: [opened, closed, synchronize]

# Recommended permissions scoping for CLA Assistant
permissions:
contents: read
actions: write
pull-requests: write
statuses: write

jobs:
CLAssistant:
Expand Down Expand Up @@ -31,10 +38,10 @@ jobs:

echo "::add-mask::$ALL_MEMBERS"
echo "org_members=$ALL_MEMBERS" >> $GITHUB_OUTPUT

- 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'
uses: contributor-assistant/github-action@v2.2.1
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'
uses: contributor-assistant/github-action@v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.REPO_SCOPE }}
Expand Down