Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/01-CLA-Assistant.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: 01-CLA-Assistant
## This workflow is used only for public repositories
## uncomment the other trigger conditions for public repositories

on:
issue_comment:
types: [created]
pull_request_target:
types: [opened,closed,synchronize,reopened]
types: [opened, closed, synchronize, reopened]

permissions:
actions: write
Expand All @@ -16,6 +13,12 @@ permissions:

jobs:
CLAAssistant:
if: >-
github.event_name == 'pull_request_target' ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
(github.event.comment.body == 'recheck' ||
Comment thread
AndrasZiegler marked this conversation as resolved.
contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA')))
runs-on: ubuntu-24.04
steps:
- name: Create CLA Assistant Lite bot token
Expand All @@ -28,15 +31,14 @@ jobs:
repositories: contributor-license-agreements

- name: "CLA Assistant"
if: ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }} || github.event_name == 'pull_request_target'
uses: SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }}
with:
path-to-signatures: "cla_signatures_db.json"
path-to-document: "https://github.com/SiliconLabsSoftware/agreements-and-guidelines/blob/main/contributor_license_agreement.md"
branch: 'cla-database'
branch: "cla-database"
allowlist: silabs-*,bot*
# the following are the optional inputs - If the optional inputs are not given, then default values will be taken
remote-organization-name: "SiliconLabsInternal"
Expand Down
Loading