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
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,13 @@ on:
5
5
pull_request_target:
6
6
types: [opened, closed, synchronize]
7
7
8
+
# Recommended permissions scoping for CLA Assistant
9
+
permissions:
10
+
contents: read
11
+
actions: write
12
+
pull-requests: write
13
+
statuses: write
14
+
8
15
jobs:
9
16
CLAssistant:
10
17
runs-on: ubuntu-latest
@@ -33,8 +40,8 @@ jobs:
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