Skip to content

Commit

Permalink
Fix: GITHUB_TOKEN の権限を拡張
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Nov 8, 2024
1 parent 50f8d1e commit 238ea34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
cache-version: v2
# GNUコマンド
sed: ${{ startsWith(matrix.os, 'macos-') && 'gsed' || 'sed' }}
# github.token の権限を拡張
permissions:
contents: read
packages: read
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
e2e-test:
runs-on: ${{ matrix.os }}
needs: [config]
# github.token の権限を拡張
permissions:
contents: read
packages: read
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 238ea34

Please sign in to comment.