Skip to content

Commit

Permalink
re-enable npm provenance again to test
Browse files Browse the repository at this point in the history
  • Loading branch information
wizardlyhel committed Jan 30, 2025
1 parent 97f7586 commit 5f5a20a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/changesets-back-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'shopify'
name: Back-fix changelog PR or Release
# permissions:
# contents: write
# pull-requests: write
# id-token: write
permissions:
contents: write
pull-requests: write
id-token: write
steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand Down Expand Up @@ -54,4 +54,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# NPM_CONFIG_PROVENANCE: true
NPM_CONFIG_PROVENANCE: true
10 changes: 5 additions & 5 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
if: github.repository_owner == 'shopify'
name: Changelog PR or Release
# permissions:
# contents: write
# pull-requests: write
# id-token: write
permissions:
contents: write
pull-requests: write
id-token: write
outputs:
published: ${{ steps.changesets.outputs.published }}
# A JSON array to present the published packages. The format is [{"name": "@xx/xx", "version": "1.2.0"}, {"name": "@xx/xy", "version": "0.8.9"}]
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# NPM_CONFIG_PROVENANCE: true
NPM_CONFIG_PROVENANCE: true

compile:
needs: changelog
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/next-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
# don't run if a commit message with [ci] release is present. The release workflow will do the release
if: github.repository_owner == 'shopify' && !startsWith(github.event.head_commit.message, '[ci] release')
# permissions:
# contents: write
# pull-requests: write
# id-token: write
permissions:
contents: write
pull-requests: write
id-token: write
outputs:
NEXT_VERSION: ${{ steps.version.outputs.NEXT_VERSION }}
steps:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
npm run version:post
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_CONFIG_PROVENANCE: true
NPM_CONFIG_PROVENANCE: true

- name: 🏗 Build
if: steps.version.outputs.NEXT_VERSION
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/snapit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
name: Snapit
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/snapit' }}
runs-on: ubuntu-latest
# permissions:
# contents: write
# pull-requests: write
# id-token: write
permissions:
contents: write
pull-requests: write
id-token: write
steps:
# This action can be executed by users with write permission to this repo
- name: Checkout current branch
Expand All @@ -32,4 +32,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# NPM_CONFIG_PROVENANCE: true
NPM_CONFIG_PROVENANCE: true

0 comments on commit 5f5a20a

Please sign in to comment.