Skip to content

Commit

Permalink
Specify GHA permissions explicitly (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Jun 27, 2024
1 parent 78bff27 commit 63fbccc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ on:

jobs:
build:
uses: wasilibs/actions/.github/workflows/ci.yaml@7b3d415a47bf67024079ff9d9a0cbb96d7067276
uses: wasilibs/actions/.github/workflows/ci.yaml@eeee5d072ee283c12eb68e2c4969012fae3d6dd0
secrets: inherit
7 changes: 6 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ on:
tags:
- v*

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

jobs:
release:
uses: wasilibs/actions/.github/workflows/release.yaml@7b3d415a47bf67024079ff9d9a0cbb96d7067276
uses: wasilibs/actions/.github/workflows/release.yaml@eeee5d072ee283c12eb68e2c4969012fae3d6dd0
secrets: inherit
6 changes: 5 additions & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ on:
- cron: "5 4 * * *"
workflow_dispatch:

permissions:
id-token: write
attestations: write

jobs:
build:
uses: wasilibs/actions/.github/workflows/update.yaml@7b3d415a47bf67024079ff9d9a0cbb96d7067276
uses: wasilibs/actions/.github/workflows/update.yaml@eeee5d072ee283c12eb68e2c4969012fae3d6dd0
secrets: inherit

0 comments on commit 63fbccc

Please sign in to comment.