Skip to content

Commit acee25a

Browse files
committed
Update F5 CLA workflow
1 parent dc4c714 commit acee25a

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/f5-cla.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "F5 CLA Workflow"
1+
name: F5 CLA
22
on:
33
issue_comment:
44
types: [created]
@@ -7,29 +7,33 @@ on:
77

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

1413
jobs:
1514
f5-cla:
1615
runs-on: ubuntu-22.04
1716
steps:
18-
- name: "F5 CLA Assistant"
17+
- name: Run F5 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'
26-
path-to-document: 'https://github.com/f5/.github/blob/main/CLA/cla-markdown.md'
2721
# Any pull request targeting the following branch will trigger a CLA check
2822
branch: 'main'
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:'
2927
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
3230
remote-organization-name: 'f5'
3331
remote-repository-name: 'f5-cla-data'
32+
path-to-signatures: 'signatures/beta/signatures.json'
3433
# 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

Comments
 (0)