File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 11
11
required : true
12
12
default : false
13
13
14
- permissions :
15
- contents : write
16
- pull-requests : write
17
-
18
14
jobs :
19
15
release :
20
16
name : Create release with auto-updates
26
22
fetch-depth : 0
27
23
fetch-tags : true
28
24
25
+ - name : Create access token
26
+ uses : actions/create-github-app-token@v1
27
+ id : app-token
28
+ with :
29
+ app-id : ${{ vars.GH_APP_ID }}
30
+ private-key : ${{ secrets.GH_APP_PRIVATE_KEY }}
31
+ owner : " kereis"
32
+ repositories : |
33
+ traefik-certs-dumper
34
+
29
35
- name : Authenticate GitHub CLI
30
- run : echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
36
+ run : echo "${{ steps.app-token.outputs.token }}" | gh auth login --with-token
31
37
32
38
- name : Make sure diff contains dependency updates only
33
39
id : deps_only_check
86
92
87
93
- name : Create new release
88
94
env :
89
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
90
95
NEW_VERSION : ${{ steps.new_version_tag.outputs.NEW_VERSION }}
91
96
RELEASE_BRANCH : ${{ steps.create_release_branch.outputs.RELEASE_BRANCH }}
92
97
run : |
You can’t perform that action at this time.
0 commit comments