Skip to content

Commit 59aa39b

Browse files
authored
Update cla.yml
Remove ORG_TOKEN
1 parent 2ee89f1 commit 59aa39b

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/cla.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,13 @@ jobs:
1010
cla:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: "Get Team Members"
14-
id: team
15-
uses: actions/github-script@v6
16-
with:
17-
github-token: ${{ secrets.ORG_TOKEN }}
18-
result-encoding: string
19-
script: |
20-
const members = await github.paginate(
21-
github.rest.orgs.listMembers,
22-
{ org: "cowprotocol" },
23-
);
24-
return members.map(m => m.login).join(",");
25-
2613
- name: "CLA Assistant"
2714
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'
28-
uses: contributor-assistant/github-action@v2.1.3-beta
15+
uses: contributor-assistant/github-action@v2.6.1
2916
env:
3017
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
PERSONAL_ACCESS_TOKEN: ${{ secrets.ORG_TOKEN }}
3218
with:
3319
branch: "cla-signatures"
3420
path-to-signatures: "signatures/version1/cla.json"
3521
path-to-document: "https://github.com/cowprotocol/cla/blob/main/Nomev%20Labs%20CLA.md"
36-
allowlist: "${{ steps.team.outputs.result }},*[bot]"
22+
allowlist: "*[bot]"

0 commit comments

Comments
 (0)