Skip to content

Commit 3e690e0

Browse files
authored
use shared cla action (#42)
1 parent a2e54fa commit 3e690e0

1 file changed

Lines changed: 4 additions & 27 deletions

File tree

.github/workflows/01-CLA-Assistant.yml

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,7 @@ permissions:
1616

1717
jobs:
1818
CLAAssistant:
19-
runs-on: ubuntu-24.04
20-
steps:
21-
- name: Create CLA Assistant Lite bot token
22-
uses: actions/create-github-app-token@v2
23-
id: app-token
24-
with:
25-
app-id: ${{ secrets.GH_APP_ID }}
26-
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
27-
owner: SiliconLabsInternal
28-
repositories: contributor-license-agreements
29-
30-
- name: "CLA Assistant"
31-
if: ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }} || github.event_name == 'pull_request_target'
32-
uses: SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2
33-
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35-
PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }}
36-
with:
37-
path-to-signatures: "cla_signatures_db.json"
38-
path-to-document: "https://github.com/SiliconLabsSoftware/agreements-and-guidelines/blob/main/contributor_license_agreement.md"
39-
branch: 'cla-database'
40-
allowlist: silabs-*,bot*
41-
# the following are the optional inputs - If the optional inputs are not given, then default values will be taken
42-
remote-organization-name: "SiliconLabsInternal"
43-
remote-repository-name: "contributor-license-agreements"
44-
create-file-commit-message: "Created the CLA database file. CLA Assistant Lite bot created this file."
45-
signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
19+
uses: SiliconLabsSoftware/matter_build_action/.github/workflows/cla.yml@main
20+
secrets:
21+
CLA_APP_ID: ${{ secrets.SILABSIN_CLA_BOT_APP_ID }}
22+
CLA_APP_PRIVATE_KEY: ${{ secrets.SILABSIN_CLA_BOT_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)