We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1121cde commit 37c7772Copy full SHA for 37c7772
1 file changed
.github/workflows/release.yml
@@ -25,6 +25,14 @@ jobs:
25
(github.event.pull_request.merged == true &&
26
startsWith(github.event.pull_request.head.ref, 'release/'))
27
steps:
28
+
29
+ - name: Get Gitflow App token
30
+ uses: actions/create-github-app-token@v1
31
+ id: app-token
32
+ with:
33
+ app-id: ${{ secrets.GITFLOW_APP_ID }}
34
+ private-key: ${{ secrets.GITFLOW_APP_KEY }}
35
36
- name: Gitflow action
37
id: gitflow-action
38
uses: hoangvvo/gitflow-workflow-action@0.3.7
@@ -35,7 +43,7 @@ jobs:
43
version_increment: ${{ contains(github.head_ref, 'hotfix/') && 'patch' || '' }}
44
dry_run: ${{ inputs.dry_run }}
45
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
39
47
40
48
- name: Checkout code
41
49
uses: actions/checkout@v4
0 commit comments