|
1 |
| -name: "F5 CLA Workflow" |
| 1 | +name: F5 CLA |
2 | 2 | on:
|
3 | 3 | issue_comment:
|
4 | 4 | types: [created]
|
|
7 | 7 |
|
8 | 8 | permissions:
|
9 | 9 | actions: write
|
10 |
| - contents: write |
11 | 10 | pull-requests: write
|
12 | 11 | statuses: write
|
13 | 12 |
|
14 | 13 | jobs:
|
15 | 14 | f5-cla:
|
16 | 15 | runs-on: ubuntu-22.04
|
17 | 16 | steps:
|
18 |
| - - name: "F5 CLA Assistant" |
| 17 | + - name: Run F5 CLA assistant |
19 | 18 | if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have hereby read the F5 CLA and agree to its terms') || github.event_name == 'pull_request_target'
|
20 |
| - uses: contributor-assistant/[email protected] |
21 |
| - env: |
22 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
23 |
| - PERSONAL_ACCESS_TOKEN: ${{ secrets.F5_CLA_TOKEN }} |
| 19 | + uses: contributor-assistant/github-action@dbc1c64d82d3aad5072007a41fff2828ae6d23ec # v2.3.2 |
24 | 20 | with:
|
25 |
| - path-to-signatures: 'signatures/beta/signatures.json' |
26 |
| - path-to-document: 'https://github.com/f5/.github/blob/main/CLA/cla-markdown.md' |
27 | 21 | # Any pull request targeting the following branch will trigger a CLA check
|
28 |
| - branch: 'main' |
| 22 | + branch: 'master' |
| 23 | + # Path to the CLA document |
| 24 | + path-to-document: 'https://github.com/f5/.github/blob/main/CLA/cla-markdown.md' |
| 25 | + # Custom CLA messages |
| 26 | + custom-notsigned-prcomment: '🎉 Thank you for your contribution. It appears you have not yet signed the F5 Contributor License Agreement (CLA), which is required for your changes to be incorporated into an F5 project. Please kindly read the [F5 CLA](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md) and comment the following to agree:' |
29 | 27 | custom-pr-sign-comment: 'I have hereby read the F5 CLA and agree to its terms'
|
30 |
| - custom-notsigned-prcomment: '🎉 Thank you for your contribution. It appears you have not yet signed the F5 Contributor License Agreement, which is required for your changes to be incorporated into an F5 project. Please kindly read the [F5 CLA](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md) and comment the following to agree:' |
31 |
| - custom-allsigned-prcomment: 'All required contributors have signed the F5 CLA for this PR ✅' |
| 28 | + custom-allsigned-prcomment: '✅ All required contributors have signed the F5 CLA for this PR. Thank you!' |
| 29 | + # Remote repository storing CLA signatures |
32 | 30 | remote-organization-name: 'f5'
|
33 | 31 | remote-repository-name: 'f5-cla-data'
|
| 32 | + path-to-signatures: 'signatures/beta/signatures.json' |
34 | 33 | # Comma seperated list of usernames for maintainers or any other individuals who should not be prompted for a CLA.
|
35 |
| - allowlist: oxpa, alessfg, bot* |
| 34 | + allowlist: alessfg, oxpa, bot* |
| 35 | + # Do not lock PRs after a merge |
| 36 | + lock-pullrequest-aftermerge: false |
| 37 | + env: |
| 38 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 39 | + PERSONAL_ACCESS_TOKEN: ${{ secrets.F5_CLA_TOKEN }} |
0 commit comments