Skip to content

Commit c2f3a16

Browse files
authored
Merge pull request #33 from rafaelbreno/add-gha-app
Add GHA credentials to create release
2 parents 7f05756 + 5576947 commit c2f3a16

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/create-tag-on-dispatch.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: Create Tag on Dispatch
22

3+
permissions:
4+
contents: write # needed for creating the GH release
5+
id-token: write
6+
37
on: [repository_dispatch]
48
jobs:
59
Create-tag:
610
runs-on: ubuntu-latest
7-
permissions:
8-
contents: write # needed for creating the GH release
9-
id-token: write
1011
steps:
1112
- name: Checkout code
1213
uses: actions/checkout@v4
1314

14-
- name: Get Github App secret out of vault
15+
- name: Read Vault secrets
1516
uses: rancher-eio/read-vault-secrets@main
1617
with:
1718
secrets: |

0 commit comments

Comments
 (0)