File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -162,11 +162,18 @@ jobs:
162
162
--assignee "${GITHUB_ACTOR}" \
163
163
--draft
164
164
165
+ - name : Generate token
166
+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69
167
+ id : app-token
168
+ with :
169
+ app-id : ${{ vars.AUTOMATION_APP_ID }}
170
+ private-key : ${{ secrets.AUTOMATION_PRIVATE_KEY }}
171
+
165
172
- name : Create the GitHub release
166
173
env :
167
174
PARTIAL_CHANGELOG : " ${{ runner.temp }}/partial_changelog.md"
168
175
VERSION : " ${{ steps.getVersion.outputs.version }}"
169
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
176
+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
170
177
run : |
171
178
# Do not mark this release as latest. The most recent CLI release must be marked as latest.
172
179
gh release create \
You can’t perform that action at this time.
0 commit comments