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

Commit

Permalink
Use app on merge to master.
Browse files Browse the repository at this point in the history
  • Loading branch information
lauravuo committed Mar 26, 2024
1 parent 60cdcf3 commit 7898bc0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@ jobs:
merge:
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@v2
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 7898bc0

Please sign in to comment.