Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9cfbef4

Browse files
authored
Merge pull request#2644 from github/aeisenberg/use-app-token-for-release
Use an app token for triggering a release
2 parents78d0136 +9a8645d commit9cfbef4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

‎.github/workflows/post-release-mergeback.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,18 @@ jobs:
162162
--assignee "${GITHUB_ACTOR}" \
163163
--draft
164164
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+
165172
-name:Create the GitHub release
166173
env:
167174
PARTIAL_CHANGELOG:"${{ runner.temp }}/partial_changelog.md"
168175
VERSION:"${{ steps.getVersion.outputs.version }}"
169-
GH_TOKEN:${{secrets.GITHUB_TOKEN }}
176+
GH_TOKEN:${{steps.app-token.outputs.token }}
170177
run:|
171178
# Do not mark this release as latest. The most recent CLI release must be marked as latest.
172179
gh release create \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp