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 c0e2efd..9703450 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,7 +38,7 @@ 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"