forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request project-chip#159: Add Github Issue Automation to SMG
Merge in WMN_TOOLS/matter from feature/github_automation to silabs Squashed commit of the following: commit d1a2cd0d0780e925a3451ca437e1224f66a53bf2 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 12:02:16 2022 -0400 Update smg version field commit 4419dbd1181324a0f48df30175c23aff80e75682 Author: mkardous-silabs <[email protected]> Date: Tue Sep 13 09:48:58 2022 -0400 Adding Silabs Custom Actions Fix issue closer
- Loading branch information
1 parent
c479f9d
commit 225d868
Showing
9 changed files
with
328 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
name: "Bug report" | ||
description: "File a bug report for Silabs Matter" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: "Thank you for reporting an issue against the Silabs Matter Repository! To correctly address your issue, please fill out the necessary information." | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "Description of the issue" | ||
placeholder: "Textual description of the issue and of its symptoms." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: reproduce_steps | ||
attributes: | ||
label: "Steps to reproduce the issue" | ||
description: "How do you trigger this bug? Please walk us through it step by step." | ||
placeholder: | | ||
1. | ||
2. | ||
3. | ||
... | ||
render: bash | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: network | ||
attributes: | ||
label: "Device type(s) and network topology" | ||
description: "Description of the network in which this issue happens (devices/types/connections/etc)." | ||
placeholder: "Mattertool Raspberry Pi connected over OpenThread with two FTDs." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: "Proposed solution(s)" | ||
description: "If available, any steps, changes, etc. that can solve the reported issue." | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: smg-version | ||
attributes: | ||
label: "SMG version" | ||
description: "What Matter SMG version are you using?" | ||
options: | ||
- release_0.1.0 | ||
- release_0.2.0 | ||
- release_0.3.0 | ||
- release_0.4.0 | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: protocol | ||
attributes: | ||
label: "Protocol(s)" | ||
description: "What protocol(s) is(are) affected? (multiple choices allowed)" | ||
multiple: true | ||
options: | ||
- "Openthread" | ||
- "Wifi" | ||
- "Bluetooth" | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: hardware_platform | ||
attributes: | ||
label: "Hardware platform(s)" | ||
description: "What hardware platform(s) are you using such as radio part, host part/host OS (if any), etc.?" | ||
placeholder: "ex: MG24 Explorer Kit, BRD4186C" | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: platform-version | ||
attributes: | ||
label: "Development platform(s)" | ||
description: "What development platform(s) are you using" | ||
placeholder: "If relevant to the bug report, please add details about your development environment used where the bug occurs." | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: "Captured data or logs" | ||
description: | | ||
Attach any relevant logs or network captures. | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Support Request | ||
url: https://community.silabs.com/s/topic/0TO1M000000qHZgWAM/matter?language=en_US | ||
about: For support requests, please ask your questions in Silabs Matter Community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: "Feature request" | ||
description: "File a feature request for Matter development" | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: "Thank you for requesting a new feature! To help us understand your request, please fill out the necessary information." | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: "General description of the feature" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: proposed_solution | ||
attributes: | ||
label: "Proposed solution" | ||
description: "High level description of a possible implementation" | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: "Alternatives" | ||
description: "Describe any alternatives already considered or attempted and the results." | ||
validations: | ||
required: false | ||
|
||
- type: input | ||
id: bug_relation | ||
attributes: | ||
label: "Related bug" | ||
description: "If this feature request is related to a bug, please link it here." | ||
placeholder: "ex: #12345" | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: smg-version | ||
attributes: | ||
label: "SMG version" | ||
description: "What Matter SMG version are you using?" | ||
options: | ||
- release_0.1.0 | ||
- release_0.2.0 | ||
- release_0.3.0 | ||
- release_0.4.0 | ||
validations: | ||
required: true | ||
|
||
- type: dropdown | ||
id: Protocol | ||
attributes: | ||
label: "Protocol(s)" | ||
description: "What protocol(s) is(are) affected? (multiple choices allowed)" | ||
multiple: true | ||
options: | ||
- "Openthread" | ||
- "Wifi" | ||
- "Bluetooth" | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: hardware_platform | ||
attributes: | ||
label: "Hardware platform(s)" | ||
description: "What hardware platform(s) are you using such as radio part, host part or host OS (if any), etc.?" | ||
placeholder: "ex: MG24 Explorer Kit, BRD4186C" | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This workflow auto assigns Matter-Apps team to a newly created issue | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/marketplace/actions/auto-assign-issue | ||
name: Issue assignment | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
auto-assign: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Auto-assign issue" | ||
uses: pozil/auto-assign-issue@v1 | ||
with: | ||
assignees: ${{secrets.APPS_MATTER_SUPPORT}} | ||
allowSelfAssign: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This workflow auto closes issues with specific tags at least 24 hours after the tag has been set. | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/marketplace/actions/tiangolo-s-issue-manager | ||
name: duplicate Closer | ||
|
||
on: | ||
schedule: | ||
- cron: "0 11 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
issue-manager: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tiangolo/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config: > | ||
{ | ||
"duplicate": { | ||
"delay": 86400, | ||
"message": "This issue is a duplicate of an existing issue.. Automatically closing the issue.", | ||
"remove_label_on_comment": false, | ||
"remove_label_on_close": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler | ||
|
||
name: Labeler | ||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
automate-issues-labels: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: initial labeling | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "triage" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This workflow warns and then closes issues that have had no activity for a specified amount of time. | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/actions/stale | ||
name: Mark stale issues | ||
|
||
on: | ||
schedule: | ||
- cron: "0 11 * * *" | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
|
||
steps: | ||
- uses: actions/stale@v5 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: "This issue has been auhtomatically marked as stale due to inactivity. It will be closed if no further activity occurs." | ||
stale-issue-label: "stale" | ||
close-issue-message: "This issue has been automatically closed. Thank you for your contributions." | ||
days-before-issue-stale: 7 | ||
days-before-issue-close: 7 | ||
any-of-labels: "more-info-needed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This workflow auto closes issues with specific tags at least 24 hours after the tag has been set. | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/marketplace/actions/tiangolo-s-issue-manager | ||
name: Support Request Closer | ||
|
||
on: | ||
schedule: | ||
- cron: "0 11 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
issue-manager: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tiangolo/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config: > | ||
{ | ||
"support-request": { | ||
"delay": 86400, | ||
"message": "This issue requires community support. Automatically closing the issue.", | ||
"remove_label_on_comment": false, | ||
"remove_label_on_close": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This workflow auto closes issues with specific tags at least 24 hours after the tag has been set. | ||
# | ||
# You can adjust the behavior by modifying this file. | ||
# For more information, see: | ||
# https://github.com/marketplace/actions/tiangolo-s-issue-manager | ||
name: won't fix Closer | ||
|
||
on: | ||
schedule: | ||
- cron: "0 11 * * *" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
issue-manager: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: tiangolo/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config: > | ||
{ | ||
"won't-fix": { | ||
"delay": 86400, | ||
"message": "This issue does not require anymore actions. Automatically closing the issue.", | ||
"remove_label_on_comment": false, | ||
"remove_label_on_close": false | ||
} | ||
} |