Skip to content

Commit

Permalink
ci: Use Github app token for creating release notes (#1253)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotradamczyk5 authored Oct 20, 2020
1 parent 0de9e3e commit 4a85a3c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release_notes_generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,17 @@ jobs:
run: |
flankScripts ci generateReleaseNotes --token=${{ secrets.GITHUB_TOKEN }}
- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.FLANK_RELEASE_APP_ID }}
private_key: ${{ secrets.FLANK_RELEASE_PRIVATE_KEY }}

- name: Commit files and create Pull request
id: pr
uses: peter-evans/create-pull-request@v3
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: "[Automatic PR] Generate release notes"
signoff: false
branch: 'release/${{ env.NEXT_RELEASE_TAG }}'
Expand Down

0 comments on commit 4a85a3c

Please # to comment.