Skip to content

Commit

Permalink
add GITHUB_TOKEN env to run changeset version
Browse files Browse the repository at this point in the history
  • Loading branch information
momentmaker committed Apr 29, 2024
1 parent f2f3e05 commit caf971e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd-changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
permissions:
id-token: write
contents: read
users: read
statuses: read
steps:
- name: Checkout repository
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand Down Expand Up @@ -47,6 +45,8 @@ jobs:

- name: Run changeset version
run: pnpm install && pnpm changeset version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: steps.changeset-added.outputs.core-changeset == 'true'

- name: Get release version
Expand Down

0 comments on commit caf971e

Please sign in to comment.