Skip to content

Commit 515484b

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

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-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*

0 commit comments

Comments
 (0)