-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from grafana/board_workflow
Add workflow for issue labeling/ add to project
- Loading branch information
Showing
5 changed files
with
119 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,36 @@ | ||
--- | ||
name: Bug report | ||
about: Report a bug | ||
labels: ['grafana-aws-sdk-react', 'type/bug'] | ||
--- | ||
|
||
<!-- | ||
Please use this template to create your bug report. By providing as much info as possible you help us understand the issue, reproduce it and resolve it for you quicker. Therefore, take a couple of extra minutes to make sure you have provided all info needed. | ||
Tip: record your screen and attach it as a gif to showcase the issue. | ||
- Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS | ||
- How to record and attach gif: https://bit.ly/2Mi8T6K | ||
--> | ||
|
||
**What happened**: | ||
|
||
**What you expected to happen**: | ||
|
||
**How to reproduce it (as minimally and precisely as possible)**: | ||
|
||
**Screenshots** | ||
|
||
<!-- | ||
If applicable, add screenshots to help explain your problem. | ||
--> | ||
|
||
**Anything else we need to know?**: | ||
|
||
**Environment**: | ||
|
||
- Grafana version: | ||
- Sdk version: | ||
- OS Grafana is installed on: | ||
- User OS & Browser: | ||
- Others: |
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: true | ||
contact_links: | ||
- name: Questions & Help | ||
url: https://community.grafana.com | ||
about: Please ask and answer questions here |
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,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
labels: ['grafana-aws-sdk-react', 'type/feature-request'] | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,34 @@ | ||
[ | ||
{ | ||
"type": "label", | ||
"name": "grafana-aws-sdk-react", | ||
"action": "addToProject", | ||
"addToProject": { | ||
"url": "https://github.com/orgs/grafana/projects/97" | ||
} | ||
}, | ||
{ | ||
"type": "label", | ||
"name": "grafana-aws-sdk-react", | ||
"action": "removeFromProject", | ||
"removeFromProject": { | ||
"url": "https://github.com/orgs/grafana/projects/97" | ||
} | ||
}, | ||
{ | ||
"type": "label", | ||
"name": "type/docs", | ||
"action": "addToProject", | ||
"addToProject": { | ||
"url": "https://github.com/orgs/grafana/projects/69" | ||
} | ||
}, | ||
{ | ||
"type": "label", | ||
"name": "type/docs", | ||
"action": "removeFromProject", | ||
"removeFromProject": { | ||
"url": "https://github.com/orgs/grafana/projects/69" | ||
} | ||
} | ||
] |
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 @@ | ||
name: Run commands when issues are labeled | ||
on: | ||
issues: | ||
types: [labeled, unlabeled] | ||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Actions | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: 'grafana/grafana-github-actions' | ||
path: ./actions | ||
ref: main | ||
- name: Install Actions | ||
run: npm install --production --prefix ./actions | ||
- name: 'Generate token' | ||
id: generate_token | ||
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 | ||
with: | ||
app_id: ${{ secrets.AWS_DS_TOKEN_CREATOR_ID }} | ||
private_key: ${{ secrets.AWS_DS_TOKEN_CREATOR_PEM }} | ||
- name: Run Commands | ||
uses: ./actions/commands | ||
with: | ||
token: ${{ steps.generate_token.outputs.token }} | ||
configPath: issue_commands |