Skip to content

Commit

Permalink
Add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjs committed Aug 6, 2024
1 parent e64cf7f commit 6e353ac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ on:
jobs:
CiBuild:
name: CI Build

uses: connorjs/github-workflows/.github/workflows/npm-ci-build~v1.yaml@features/npm-pack-and-publish

permissions:
attestations: write
contents: read
id-token: write

PipelineTests:
name: Test (${{ matrix.node }} | ${{ matrix.platform.os }})
defaults:
Expand Down Expand Up @@ -101,3 +107,7 @@ jobs:
with:
npmPackFilename: ${{needs.CiBuild.outputs.npmPackFilename}}
semVer: ${{needs.CiBuild.outputs.semVer}}

permissions:
contents: write
id-token: write

0 comments on commit 6e353ac

Please sign in to comment.