Skip to content

Commit 84d61fd

Browse files
TasoOneAsiaalessfg
authored andcommitted
ci: Add GH Actions workflow for F5 CLA automation (#699)
1 parent c2376ed commit 84d61fd

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/f5-cla.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "F5 CLA Workflow"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened, closed, synchronize]
7+
8+
permissions:
9+
actions: write
10+
contents: write
11+
pull-requests: write
12+
statuses: write
13+
14+
jobs:
15+
f5-cla:
16+
runs-on: ubuntu-22.04
17+
steps:
18+
- name: "F5 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/[email protected]
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
PERSONAL_ACCESS_TOKEN: ${{ secrets.F5_CLA_TOKEN }}
24+
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+
# Any pull request targeting the following branch will trigger a CLA check
28+
branch: 'main'
29+
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 ✅'
32+
remote-organization-name: 'f5'
33+
remote-repository-name: 'f5-cla-data'
34+
# Comma seperated list of usernames for maintainers or any other individuals who should not be prompted for a CLA.
35+
allowlist: oxpa, alessfg, bot*

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ CI/CD:
2121
- Add Molecule tests for NGINX Amplify.
2222
- Update the RHEL based tests to use the latest UBI release.
2323
- Use the local role name (`ansible-role-nginx`) instead of the fully qualified role name (`nginxinc.nginx`) in Molecule to ensure tests always work as intended in environments where the role has been already installed beforehand.
24+
- Implement F5 CLA signatures.
2425

2526
## 0.24.2 (October 3rd, 2023)
2627

0 commit comments

Comments
 (0)