Skip to content

Commit 53e879a

Browse files
authored
Update CLA workflow (#837)
1 parent 2c1eb9c commit 53e879a

File tree

2 files changed

+26
-16
lines changed

2 files changed

+26
-16
lines changed

.github/workflows/f5-cla.yml

Lines changed: 24 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
1-
---
21
name: F5 CLA
2+
33
on:
44
issue_comment:
5-
types: [created]
5+
types:
6+
- created
67
pull_request_target:
7-
types: [opened, closed, synchronize]
8-
permissions: read-all
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
12+
13+
concurrency:
14+
group: ${{ github.ref_name }}-cla
15+
16+
permissions:
17+
contents: read
18+
919
jobs:
1020
f5-cla:
1121
name: F5 CLA
1222
runs-on: ubuntu-22.04
1323
permissions:
1424
actions: write
25+
contents: read
1526
pull-requests: write
1627
statuses: write
1728
steps:
@@ -20,19 +31,19 @@ jobs:
2031
uses: contributor-assistant/github-action@f41946747f85d28e9a738f4f38dbcc74b69c7e0e # v2.5.1
2132
with:
2233
# Any pull request targeting the following branch will trigger a CLA check.
23-
branch: 'main'
34+
branch: "main"
2435
# Path to the CLA document.
25-
path-to-document: 'https://github.com/f5/.github/blob/main/CLA/cla-markdown.md'
36+
path-to-document: "https://github.com/f5/.github/blob/main/CLA/cla-markdown.md"
2637
# 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!'
38+
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:"
39+
custom-pr-sign-comment: "I have hereby read the F5 CLA and agree to its terms"
40+
custom-allsigned-prcomment: "✅ All required contributors have signed the F5 CLA for this PR. Thank you!"
3041
# Remote repository storing CLA signatures.
31-
remote-organization-name: 'f5'
32-
remote-repository-name: 'f5-cla-data'
33-
path-to-signatures: 'signatures/beta/signatures.json'
42+
remote-organization-name: "f5"
43+
remote-repository-name: "f5-cla-data"
44+
path-to-signatures: "signatures/beta/signatures.json"
3445
# Comma separated list of usernames for maintainers or any other individuals who should not be prompted for a CLA.
35-
allowlist: lucacome, pleshakov, bot*
46+
allowlist: bot*
3647
# Do not lock PRs after a merge.
3748
lock-pullrequest-aftermerge: false
3849
env:

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ issue template.
7171

7272
### F5 Contributor License Agreement (CLA)
7373

74-
F5 requires all external contributors to agree to the terms of the F5 CLA
75-
(available [here](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md)) before any of their changes can be
76-
incorporated into an F5 Open Source repository.
74+
F5 requires all external contributors to agree to the terms of the F5 CLA (available [here](https://github.com/f5/.github/blob/main/CLA/cla-markdown.md))
75+
before any of their changes can be incorporated into an F5 Open Source repository.
7776

7877
If you have not yet agreed to the F5 CLA terms and submit a PR to this repository, a bot will prompt you to view and
7978
agree to the F5 CLA. You will have to agree to the F5 CLA terms through a comment in the PR before any of your changes

0 commit comments

Comments
 (0)