Skip to content

Commit

Permalink
Merge pull request #2000 from hashicorp/w-fix-changelog-newversion
Browse files Browse the repository at this point in the history
[GHA] Use app token for new changelog version step
  • Loading branch information
breathingdust authored Sep 6, 2024
2 parents 2133332 + a13a1d9 commit 3990872
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,16 @@ jobs:
if: github.ref_name == needs.highest-version-tag.outputs.tag
runs-on: macos-latest
steps:
- uses: actions/create-github-app-token@3378cda945da322a8db4b193e19d46352ebe2de5 # v1.10.4
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PEM }}
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
ref: main
token: ${{ steps.app-token.outputs.token }}
- name: Update Changelog Header
run: |
CHANGELOG_FILE_NAME="CHANGELOG.md"
Expand Down

0 comments on commit 3990872

Please sign in to comment.