Skip to content

Commit 5e577ca

Browse files
committed
fix: update changesets workflow to include id-token permission and provenance flag for publishing
1 parent 9424fb5 commit 5e577ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/changesets.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
permissions:
99
contents: write
1010
pull-requests: write
11+
id-token: write
1112

1213
env:
1314
CI: true
@@ -16,6 +17,7 @@ jobs:
1617
version:
1718
timeout-minutes: 15
1819
runs-on: ubuntu-latest
20+
if: ${{ github.repository_owner == 'playcanvas' }}
1921
steps:
2022
- name: Checkout code repository
2123
uses: actions/checkout@v6
@@ -42,8 +44,7 @@ jobs:
4244
with:
4345
commit: "chore: update versions"
4446
title: "chore: update versions"
45-
publish: pnpm -w changeset publish
47+
publish: pnpm -w changeset publish --provenance
4648
createGithubReleases: true
4749
env:
4850
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)