Skip to content

Commit

Permalink
integrate token permissions to fix provenance generation in release w…
Browse files Browse the repository at this point in the history
…orkflow
  • Loading branch information
nicoburniske committed Jun 11, 2024
1 parent a92ef35 commit 6a0916f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
types: [published]

jobs:

build:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -36,6 +37,9 @@ jobs:
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A library that help writing Golem programs by providing higher level wrappers for Golem's runtime APIs, including functions for defining and performing operations transactionally.",
"readme": "../README.md",
"repository": {
"url": "https://github.com/golemcloud/golem-ts",
"url": "git+https://github.com/golemcloud/golem-ts.git",
"directory": "lib"
},
"license": "Apache-2.0",
Expand Down

0 comments on commit 6a0916f

Please sign in to comment.