Skip to content

Commit

Permalink
Merge pull request #1675 from actions/provenance-permissions
Browse files Browse the repository at this point in the history
fix permissions for release workflow
  • Loading branch information
bdehamer authored Feb 26, 2024
2 parents c366a07 + 68b042f commit 29bf378
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
package:
required: true
description: 'core, artifact, cache, exec, github, glob, http-client, io, tool-cache'
description: 'core, artifact, cache, exec, github, glob, http-client, io, tool-cache, attest'

jobs:
test:
Expand Down Expand Up @@ -49,6 +49,9 @@ jobs:
runs-on: macos-latest
needs: test
environment: npm-publish
permissions:
contents: read
id-token: write
steps:

- name: download artifact
Expand Down

0 comments on commit 29bf378

Please sign in to comment.