Skip to content

Commit 0e64791

Browse files
committed
ci: use official create-github-app-token action
1 parent 186310f commit 0e64791

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
timeout-minutes: 20
2727
runs-on: ubuntu-latest
2828
steps:
29+
# https://github.com/orgs/community/discussions/25305#discussioncomment-8256560
2930
# Unfortunately branch protection means that this workflow can't push the updated changelogs
3031
# and tags to `main` in the normal way. Instead we have an app:
3132
# https://github.com/organizations/hydro-project/settings/apps/hydro-project-bot
@@ -35,10 +36,10 @@ jobs:
3536
# `APP_PRIVATE_KEY` ("Generate a private key").
3637
- name: Generate token
3738
id: generate_token
38-
uses: tibdex/github-app-token@v1
39+
uses: actions/create-github-app-token@v1
3940
with:
40-
app_id: ${{ secrets.APP_ID }}
41-
private_key: ${{ secrets.APP_PRIVATE_KEY }}
41+
app-id: ${{ secrets.APP_ID }}
42+
private-key: ${{ secrets.APP_PRIVATE_KEY }}
4243

4344
- run: |
4445
echo "Version bump: $BUMP"
@@ -54,7 +55,7 @@ jobs:
5455
git config --global user.email "132423234+hydro-project-bot[bot]@users.noreply.github.com"
5556
5657
- name: Checkout sources
57-
uses: actions/checkout@v3
58+
uses: actions/checkout@v4
5859
with:
5960
# Fetch all commit history so smart-release can generate changelogs.
6061
fetch-depth: 0

0 commit comments

Comments
 (0)