Skip to content

Commit

Permalink
ci: use official create-github-app-token action
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jul 22, 2024
1 parent 186310f commit 0e64791
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
# https://github.com/orgs/community/discussions/25305#discussioncomment-8256560
# Unfortunately branch protection means that this workflow can't push the updated changelogs
# and tags to `main` in the normal way. Instead we have an app:
# https://github.com/organizations/hydro-project/settings/apps/hydro-project-bot
Expand All @@ -35,10 +36,10 @@ jobs:
# `APP_PRIVATE_KEY` ("Generate a private key").
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
uses: actions/create-github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

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

0 comments on commit 0e64791

Please sign in to comment.