diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a302042caa4..f7b1d7a5016 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,10 +35,10 @@ jobs: # `APP_PRIVATE_KEY` ("Generate a private key"). - name: Generate token id: generate_token - uses: tibdex/github-app-token@v2 + 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" @@ -54,11 +54,13 @@ 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 token: ${{ steps.generate_token.outputs.token }} + # Make sure the value of GITHUB_TOKEN will not be persisted in repo's config + persist-credentials: false - name: Push test commit run: |