Skip to content
File

Blob: .github/workflows/cla.yml

yaml29 lines
1name: "CLA Assistant"
2on:
3 issue_comment:
4 types: [created]
5 pull_request_target:
6 types: [opened,synchronize]
7 merge_group:
8 
9jobs:
10 CLAssistant:
11 runs-on: ubuntu-latest
12 steps:
13 - name: "CLA Assistant"
14 if: (github.event.issue.pull_request && (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'
15 uses: contributor-assistant/github-action@v2.6.1
16 env:
17 # CLA Action uses this in-built GitHub token to make the API calls for interacting with GitHub.
18 # It is built into Github Actions and does not need to be manually specified in your secrets store.
19 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 # The below token should have repo scope and must be manually added by you in the repository's secret
21 PERSONAL_ACCESS_TOKEN : ${{ secrets.CLA_PERSONAL_ACCESS_TOKEN }}
22 with:
23 path-to-signatures: 'signatures/version1/cla.json'
24 path-to-document: 'https://www.cloudflare.com/cla/'
25 # branch should not be protected
26 branch: 'cla-signatures'
27 allowlist: dependabot[bot],workers-devprod
28 lock-pullrequest-aftermerge: false