You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/cla.yml
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,15 @@ name: "CLA Assistant"
2
2
on:
3
3
issue_comment:
4
4
types: [created, edited]
5
-
pull_request:
6
-
types: [opened,closed,synchronize]
5
+
pull_request_target:
6
+
types: [opened, closed, synchronize]
7
+
8
+
# Recommended permissions scoping for CLA Assistant
9
+
permissions:
10
+
contents: read
11
+
actions: write
12
+
pull-requests: write
13
+
statuses: write
7
14
8
15
jobs:
9
16
CLAssistant:
@@ -31,10 +38,10 @@ jobs:
31
38
32
39
echo "::add-mask::$ALL_MEMBERS"
33
40
echo "org_members=$ALL_MEMBERS" >> $GITHUB_OUTPUT
34
-
41
+
35
42
- 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'
0 commit comments