Skip to content

Commit 1853cb2

Browse files
committed
Update F5 CLA action
1 parent a34243d commit 1853cb2

File tree

1 file changed

+40
-39
lines changed

1 file changed

+40
-39
lines changed

.github/workflows/f5-cla.yml

+40-39
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
1-
name: F5 CLA
2-
on:
3-
issue_comment:
4-
types: [created]
5-
pull_request_target:
6-
types: [opened, closed, synchronize]
7-
8-
permissions:
9-
actions: write
10-
pull-requests: write
11-
statuses: write
12-
13-
jobs:
14-
f5-cla:
15-
runs-on: ubuntu-22.04
16-
steps:
17-
- name: Run F5 CLA assistant
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'
19-
uses: contributor-assistant/github-action@9340315624c6e16cef1f2c63bdeb0f0c49c6f474 # v2.4.0
20-
with:
21-
# Any pull request targeting the following branch will trigger a CLA check
22-
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:'
27-
custom-pr-sign-comment: 'I have hereby read the F5 CLA and agree to its terms'
28-
custom-allsigned-prcomment: '✅ All required contributors have signed the F5 CLA for this PR. Thank you!'
29-
# Remote repository storing CLA signatures
30-
remote-organization-name: 'f5'
31-
remote-repository-name: 'f5-cla-data'
32-
path-to-signatures: 'signatures/beta/signatures.json'
33-
# Comma seperated list of usernames for maintainers or any other individuals who should not be prompted for a CLA.
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 }}
1+
---
2+
name: F5 CLA
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_target:
7+
types: [opened, closed, synchronize]
8+
permissions: read-all
9+
jobs:
10+
f5-cla:
11+
name: F5 CLA
12+
runs-on: ubuntu-24.04
13+
permissions:
14+
actions: write
15+
pull-requests: write
16+
statuses: write
17+
steps:
18+
- name: Run F5 Contributor License Agreement (CLA) assistant
19+
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/github-action@9340315624c6e16cef1f2c63bdeb0f0c49c6f474 # v2.4.0
21+
with:
22+
# Any pull request targeting the following branch will trigger a CLA check.
23+
branch: main
24+
# Path to the CLA document.
25+
path-to-document: https://github.com/f5/.github/blob/main/CLA/cla-markdown.md
26+
# Custom CLA messages.
27+
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 Open Source Software (OSS) project. Please kindly read the [F5 CLA](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md) and reply on a new comment with the following text to agree:'
28+
custom-pr-sign-comment: 'I have hereby read the F5 CLA and agree to its terms'
29+
custom-allsigned-prcomment: '✅ All required contributors have signed the F5 CLA for this PR. Thank you!'
30+
# Remote repository storing CLA signatures.
31+
remote-organization-name: f5
32+
remote-repository-name: f5-cla-data
33+
path-to-signatures: signatures/signatures.json
34+
# Comma separated list of usernames for maintainers or any other individuals who should not be prompted for a CLA.
35+
allowlist: alessfg, oxpa, bot*
36+
# Do not lock PRs after a merge.
37+
lock-pullrequest-aftermerge: false
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
PERSONAL_ACCESS_TOKEN: ${{ secrets.F5_CLA_TOKEN }}

0 commit comments

Comments
 (0)