Skip to content

Commit 6d03051

Browse files
TasoOneAsiaalessfg
authored andcommitted
ci: Add GH actions workflow for F5 CLA automation (#412)
1 parent 2651dcb commit 6d03051

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/workflows/f5-cla.yml

Lines changed: 35 additions & 0 deletions
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/github-action@v2.3.0
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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ BUG FIXES:
2424
CI/CD:
2525

2626
- Uncomment the `ansible-compat` version from the CI/CD pipeline.
27+
- Implement F5 CLA signatures.
2728

2829
## 0.7.0 (July 6, 2023)
2930

0 commit comments

Comments
 (0)