Skip to content

Commit

Permalink
Merge pull request #140 from liam-hq/changeset-actions-pr-trigger-ci-2
Browse files Browse the repository at this point in the history
Update GitHub App token variables for release workflow
  • Loading branch information
MH4GF authored Dec 3, 2024
2 parents 54308d8 + a4df5f9 commit 2316d4c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.CHANGESET_CI_TRIGGER_APP_ID }}
private-key: ${{ secrets.CHANGESET_CI_TRIGGER_APP_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
sparse-checkout: |
Expand All @@ -29,13 +36,6 @@ jobs:
with:
working-directory: ${{ env.working-directory }}

- name: Create GitHub App Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.CI_TRIGGER_APP_ID }}
private-key: ${{ secrets.CI_TRIGGER_APP_PRIVATE_KEY }}

- name: Create Release Pull Request or Publish to npm
uses: changesets/[email protected]
with:
Expand Down

0 comments on commit 2316d4c

Please sign in to comment.