Skip to content

Commit

Permalink
Merge pull request #1513 from notaphplover/chore/update-publish-workf…
Browse files Browse the repository at this point in the history
…low-to-rely-on-gh-app

Update publish workflow to rely on gh app
  • Loading branch information
notaphplover authored Aug 6, 2024
2 parents 2829b6b + 3fd452f commit f07f85e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,18 @@ jobs:

- uses: ./.github/actions/setup

- id: create_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ vars.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}

- name: Create Release Pull Request
uses: changesets/action@v1
with:
commit: "chore: bump package versions"
publish: pnpm run release
title: "[Changesets] Bump package versions"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.create_token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit f07f85e

Please sign in to comment.