Skip to content

Commit c5f173c

Browse files
authored
ci: Update F5 CLA action (#449)
1 parent 664587e commit c5f173c

File tree

2 files changed

+25
-21
lines changed

2 files changed

+25
-21
lines changed

.github/workflows/f5-cla.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,39 @@
1+
---
12
name: F5 CLA
23
on:
34
issue_comment:
45
types: [created]
56
pull_request_target:
67
types: [opened, closed, synchronize]
7-
8-
permissions:
9-
actions: write
10-
pull-requests: write
11-
statuses: write
12-
8+
permissions: read-all
139
jobs:
1410
f5-cla:
11+
name: F5 CLA
1512
runs-on: ubuntu-24.04
13+
permissions:
14+
actions: write
15+
pull-requests: write
16+
statuses: write
1617
steps:
17-
- name: Run F5 CLA assistant
18+
- name: Run F5 Contributor License Agreement (CLA) assistant
1819
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'
1920
uses: contributor-assistant/github-action@9340315624c6e16cef1f2c63bdeb0f0c49c6f474 # v2.4.0
2021
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:'
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:'
2728
custom-pr-sign-comment: 'I have hereby read the F5 CLA and agree to its terms'
2829
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.
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.
3435
allowlist: alessfg, oxpa, bot*
35-
# Do not lock PRs after a merge
36+
# Do not lock PRs after a merge.
3637
lock-pullrequest-aftermerge: false
3738
env:
3839
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ TESTS:
1111
- Add Molecule tests covering common NGINX use cases (web server, reverse proxy), enabling the NGINX stub status metrics, and NGINX Plus API and live metrics dashboard.
1212
- Update the platforms used in the various Molecule scenarios.
1313
- Use the local role name (`ansible-role-nginx-config`) instead of the fully qualified role name (`nginxinc.nginx_config`) in Molecule to ensure tests always work as intended in environments where the role has been already installed beforehand.
14+
15+
CI/CD:
16+
1417
- Bump the minimum version of Ansible supported on Ansible Galaxy to `2.16`.
15-
- Remove platform metadata from the Ansible Galaxy role metadata since platforms are no longer supported in Ansible Galaxy NG.
1618
- Update GitHub Actions to Ubuntu 24.04.
1719
- Switch GitHub Actions from using tags to release hashes.
20+
- Remove platform metadata from the Ansible Galaxy role metadata since platforms are no longer supported in Ansible Galaxy NG.
1821

1922
MAINTENANCE:
2023

@@ -33,7 +36,7 @@ BUG FIXES:
3336
CI/CD:
3437

3538
- Uncomment the `ansible-compat` version from the CI/CD pipeline.
36-
- Implement F5 CLA signatures.
39+
- Implement F5 CLA.
3740

3841
## 0.7.0 (July 6, 2023)
3942

0 commit comments

Comments
 (0)