Skip to content

Commit

Permalink
Merge pull request #301 from thefrontside/cl/publish-with-provenance
Browse files Browse the repository at this point in the history
👷 Add permissions to NPM publish with provenance
  • Loading branch information
cowboyd authored Sep 18, 2024
2 parents adbbd8e + 64502c5 commit 7f5bac2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/covector-version-or-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

permissions:
contents: write
actions: write
pull-requests: write

jobs:
version-or-publish:
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
tags:
- "interactors-*"

permissions:
id-token: write
contents: read


jobs:
publish-to-npm:
name: NPM ${{ github.ref }}
Expand Down

0 comments on commit 7f5bac2

Please sign in to comment.