Skip to content

Commit a92c1d8

Browse files
authored
Enable CLA here
1 parent 5ad4de5 commit a92c1d8

File tree

1 file changed

+35
-0
lines changed
  • signatures/version1/.github/workflows

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "CLA Assistant"
2+
on:
3+
pull_request_target:
4+
types: [opened,closed,synchronize]
5+
workflow_call:
6+
secrets:
7+
ZAP_CLA_PAT:
8+
required: true
9+
10+
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
11+
permissions:
12+
actions: write
13+
contents: write
14+
pull-requests: write
15+
statuses: write
16+
17+
jobs:
18+
CLAAssistant:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: "CLA Assistant"
22+
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'
23+
uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
PERSONAL_ACCESS_TOKEN: ${{ secrets.ZAP_CLA_PAT }}
27+
with:
28+
path-to-signatures: 'signatures/version1/cla.json'
29+
path-to-document: 'https://github.com/zaproxy/zaproxy/blob/main/CLA.md'
30+
# branch should not be protected
31+
branch: 'main'
32+
allowlist: zapbot,dependabot[bot]
33+
remote-organization-name: 'zaproxy'
34+
remote-repository-name: 'cla'
35+
suggest-recheck: 'false'

0 commit comments

Comments
 (0)