File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed
Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,12 @@ jobs:
1616 name : Add issue to project
1717 runs-on : ubuntu-latest
1818 steps :
19- - id : get-secrets
20- uses : grafana/shared-workflows/actions/get-vault-secrets@main # zizmor: ignore[unpinned-uses]
19+ - id : get-github-token
20+ uses : grafana/shared-workflows/actions/create-github-app-token@create-github-app-token/v0.2.2
2121 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 }}
32- - uses : actions/add-to-project@main
22+ github_app : grafana-oss-big-tent
23+ - name : Add to project
24+ uses : actions/add-to-project@main
3325 with :
3426 project-url : https://github.com/orgs/grafana/projects/457
35- github-token : ${{ steps.generate-token.outputs.token }}
27+ github-token : ${{ steps.generate-token.outputs.github_token }}
Original file line number Diff line number Diff line change 1313 release :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : grafana/plugin-actions/create-plugin-update@main
16+ - id : get-github-token
17+ uses : grafana/shared-workflows/actions/create-github-app-token@create-github-app-token/v0.2.2
18+ with :
19+ github_app : grafana-oss-big-tent
20+ - uses : grafana/plugin-actions/create-plugin-update@create-plugin-update/v2.0.1
21+ with :
22+ token : ${{ steps.generate-token.outputs.github_token }}
You can’t perform that action at this time.
0 commit comments