From 2fb1e8a45ad3d560d0dd45fc5ffb5a3e7cf6129f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Hegedu=CC=88s?= Date: Thu, 26 Mar 2026 21:31:13 +0100 Subject: [PATCH 1/2] Altering CLA Assistant --- .github/workflows/01-CLA-Assistant.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/01-CLA-Assistant.yml b/.github/workflows/01-CLA-Assistant.yml index c0e2efd..1309236 100644 --- a/.github/workflows/01-CLA-Assistant.yml +++ b/.github/workflows/01-CLA-Assistant.yml @@ -1,6 +1,4 @@ name: 01-CLA-Assistant -## This workflow is used for public repositories - on: issue_comment: types: [created] @@ -15,7 +13,12 @@ permissions: jobs: CLAAssistant: - if: github.repository_visibility == 'public' + if: >- + github.event_name == 'pull_request_target' || + (github.event_name == 'issue_comment' && + github.event.issue.pull_request && + (github.event.comment.body == 'recheck' || + 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 @@ -28,7 +31,6 @@ 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 }} @@ -36,10 +38,10 @@ jobs: 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" remote-repository-name: "contributor-license-agreements" create-file-commit-message: "Created the CLA database file. CLA Assistant Lite bot created this file." - signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo" + signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo" \ No newline at end of file From 4bf4c2f94a0b68d90a52e4226fb0003f8d711f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Hegedu=CC=88s?= Date: Thu, 26 Mar 2026 21:31:14 +0100 Subject: [PATCH 2/2] Adding missing files --- .github/ISSUE_TEMPLATE/bug_report.md | 27 ++++++++++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 21 ++++++++++++++++++++ .github/workflows/01-CLA-Assistant.yml | 2 +- 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..e49565e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug report +about: Create a report to help us improve +title: 'Bug: ' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..af70762 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,21 @@ +## Description + + +## Related Issue + +Closes # + +## Changes Made + +- + +## Checklist +- [ ] I have read the [Contributor License Agreement](https://github.com/SiliconLabsSoftware/agreements-and-guidelines/blob/main/contributor_license_agreement.md). +- [ ] I have followed the repository's [coding guidelines](https://github.com/SiliconLabsSoftware/agreements-and-guidelines/blob/main/coding_standard.md) . +- [ ] I have checked the action workflow results and they are all passed. + +## Screenshots (if applicable) + + +## Additional Notes + diff --git a/.github/workflows/01-CLA-Assistant.yml b/.github/workflows/01-CLA-Assistant.yml index 1309236..9703450 100644 --- a/.github/workflows/01-CLA-Assistant.yml +++ b/.github/workflows/01-CLA-Assistant.yml @@ -44,4 +44,4 @@ jobs: remote-organization-name: "SiliconLabsInternal" remote-repository-name: "contributor-license-agreements" create-file-commit-message: "Created the CLA database file. CLA Assistant Lite bot created this file." - signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo" \ No newline at end of file + signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo"