Skip to content

Commit

Permalink
Specify GHA permissions explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga committed Jun 27, 2024
1 parent 2b194c2 commit 07dc177
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
tags:
- v*

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

jobs:
release:
uses: wasilibs/actions/.github/workflows/release.yaml@eeee5d072ee283c12eb68e2c4969012fae3d6dd0
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- cron: "5 4 * * *"
workflow_dispatch:

permissions:
id-token: write
attestations: write

jobs:
build:
uses: wasilibs/actions/.github/workflows/update-node.yaml@eeee5d072ee283c12eb68e2c4969012fae3d6dd0
Expand Down

0 comments on commit 07dc177

Please sign in to comment.