Skip to content

Commit 03af9b1

Browse files
authored
Update workflows and templates (#275)
* Update workflows and templates * fix input names
1 parent d7e9e3b commit 03af9b1

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ labels: ['grafana-aws-sdk-react', 'type/bug']
77
<!--
88
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.
99
10-
Tip: record your screen and attach it as a gif to showcase the issue.
10+
PROTIP: record your screen and attach it as a gif to showcase the issue.
1111
12-
- Use query inspector to troubleshoot issues: https://bit.ly/2XNF6YS
13-
- How to record and attach gif: https://bit.ly/2Mi8T6K
12+
- Use query inspector to troubleshoot issues: https://community.grafana.com/t/how-to-use-grafanas-query-inspector-to-troubleshoot-issues/2630
13+
- How to record and attach gif: https://community.grafana.com/t/proptip-record-gif-and-attach-to-bug-report-to-showcase-issue/31320
1414
-->
1515

1616
**What happened**:
@@ -19,6 +19,15 @@ Tip: record your screen and attach it as a gif to showcase the issue.
1919

2020
**How to reproduce it (as minimally and precisely as possible)**:
2121

22+
<!--
23+
Example:
24+
25+
1. Go to '...'
26+
2. Click on '....'
27+
3. Scroll down to '....'
28+
4. See error
29+
-->
30+
2231
**Screenshots**
2332

2433
<!--
@@ -30,7 +39,7 @@ If applicable, add screenshots to help explain your problem.
3039
**Environment**:
3140

3241
- Grafana version:
33-
- Sdk version:
42+
- SDK version:
3443
- OS Grafana is installed on:
3544
- User OS & Browser:
3645
- Others:

.github/workflows/issue_commands.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ name: Run commands when issues are labeled
22
on:
33
issues:
44
types: [labeled, unlabeled]
5+
permissions: {}
56
jobs:
67
main:
78
permissions:
89
contents: read
10+
id-token: write # The "id-token: write" permission is required by "get-vault-secrets" action
911
issues: write
1012
runs-on: ubuntu-latest
1113
steps:
@@ -27,10 +29,10 @@ jobs:
2729
AWS_DS_TOKEN_CREATOR_PEM=aws-ds-token-creator:pem
2830
- name: 'Generate token'
2931
id: generate_token
30-
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
32+
uses: actions/create-github-app-token@v2
3133
with:
32-
app_id: ${{ env.AWS_DS_TOKEN_CREATOR_ID }}
33-
private_key: ${{ env.AWS_DS_TOKEN_CREATOR_PEM }}
34+
app-id: ${{ env.AWS_DS_TOKEN_CREATOR_ID }}
35+
private-key: ${{ env.AWS_DS_TOKEN_CREATOR_PEM }}
3436
- name: Run Commands
3537
uses: ./actions/commands
3638
with:

0 commit comments

Comments
 (0)