Skip to content

Commit 7351cbb

Browse files
committed
ci: update f5-cla.yml based on latest changes
1 parent 940a0d1 commit 7351cbb

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

.github/workflows/f5-cla.yml

+20-14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "F5 Contributor License Agreement"
1+
name: F5 CLA
22
on:
33
issue_comment:
44
types: [created]
@@ -7,27 +7,33 @@ on:
77

88
permissions:
99
actions: write
10-
contents: write
1110
pull-requests: write
1211
statuses: write
1312

1413
jobs:
15-
cla:
16-
runs-on: ubuntu-latest
14+
f5-cla:
15+
runs-on: ubuntu-22.04
1716
steps:
18-
- name: "CLA Assistant"
17+
- name: Run F5 Contributor License Agreement (CLA) assistant
1918
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
2420
with:
25-
path-to-signatures: 'signatures/beta/signatures.json'
21+
# Any pull request targeting the following branch will trigger a CLA check.
22+
branch: 'main'
23+
# Path to the CLA document.
2624
path-to-document: 'https://github.com/f5/.github/blob/main/CLA/cla-markdown.md'
27-
branch: 'master'
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:'
2827
custom-pr-sign-comment: 'I have hereby read the F5 CLA and agree to its terms'
29-
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:'
30-
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.
3130
remote-organization-name: 'f5'
3231
remote-repository-name: 'f5-cla-data'
33-
allowlist: 4141done, dekobon, bot*
32+
path-to-signatures: 'signatures/beta/signatures.json'
33+
# Comma separated list of usernames for maintainers or any other individuals who should not be prompted for a CLA.
34+
allowlist: 4141done, dekobon, 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

Comments
 (0)