Skip to content

Commit

Permalink
Use App to publish releases
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim authored Feb 21, 2024
1 parent b85ebc9 commit 401d0a6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ jobs:

- name: Install Dependencies
run: npm ci


- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.GW2T_RELEASE_APP_ID }}
private_key: ${{ secrets.GW2T_RELEASE_APP_PRIVATE_KEY }}

- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}

0 comments on commit 401d0a6

Please sign in to comment.