Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Use app token for merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
lauravuo committed Mar 26, 2024
1 parent 1261af1 commit 565a9a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,17 @@ jobs:
needs: push-image
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.AGENCY_RELEASER_ID }}
private-key: ${{ secrets.AGENCY_RELEASER_KEY }}
- name: checkout
uses: actions/checkout@v4
with:
ref: master
token: ${{ steps.generate_token.outputs.token }}
- name: merge
run: |
git fetch --tags origin
Expand Down

0 comments on commit 565a9a1

Please sign in to comment.