File tree 1 file changed +22
-1
lines changed
1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 3
3
issues :
4
4
types :
5
5
- opened
6
+ pull_request :
7
+ types :
8
+ - opened
9
+
10
+ permissions :
11
+ contents : read
12
+ id-token : write
13
+
6
14
jobs :
7
15
add-to-project :
8
16
name : Add issue to project
9
17
runs-on : ubuntu-latest
10
18
steps :
19
+ - id : get-secrets
20
+ uses : grafana/shared-workflows/actions/get-vault-secrets@main
21
+ with :
22
+ repo_secrets : |
23
+ GITHUB_APP_ID=grafana-oss-big-tent:app-id
24
+ GITHUB_APP_PRIVATE_KEY=grafana-oss-big-tent:private-key
25
+ - name : Generate a token
26
+ id : generate-token
27
+ uses : actions/create-github-app-token@v1
28
+ with :
29
+ app-id : ${{ env.GITHUB_APP_ID }}
30
+ private-key : ${{ env.GITHUB_APP_PRIVATE_KEY }}
31
+ owner : ${{ github.repository_owner }}
11
32
- uses : actions/add-to-project@main
12
33
with :
13
34
project-url : https://github.com/orgs/grafana/projects/457
14
- github-token : ${{ secrets.ISSUE_COMMANDS_TOKEN }}
35
+ github-token : ${{ steps.generate-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments