Skip to content

Commit 1592a2b

Browse files
committed
chore: re-enable CLA signing for external contributors
1 parent f9e9081 commit 1592a2b

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/cla.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ on:
55
pull_request_target:
66
types: [opened, closed, synchronize]
77

8+
# Recommended permissions scoping for CLA Assistant
9+
permissions:
10+
contents: read
11+
actions: write
12+
pull-requests: write
13+
statuses: write
14+
815
jobs:
916
CLAssistant:
1017
runs-on: ubuntu-latest
@@ -33,8 +40,8 @@ jobs:
3340
echo "org_members=$ALL_MEMBERS" >> $GITHUB_OUTPUT
3441
3542
- name: "CLA Assistant"
36-
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'
37-
uses: contributor-assistant/github-action@v2.2.1
43+
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'
44+
uses: contributor-assistant/github-action@v2.6.1
3845
env:
3946
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4047
PERSONAL_ACCESS_TOKEN: ${{ secrets.REPO_SCOPE }}

0 commit comments

Comments
 (0)