Skip to content

Commit

Permalink
build: give write permission to gh action to create release
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGreenMagick committed Jan 4, 2025
1 parent 47e1aa1 commit 6c2519e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/download_jmdict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
permissions:
id-token: write
attestations: write
contents: write # gh-release

jobs:
download_jmdict:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ on:
workflow_dispatch:

permissions:
id-token: write
attestations: write
id-token: write # attestations
attestations: write # attestations
contents: write # gh-release

jobs:
release:
Expand Down

0 comments on commit 6c2519e

Please sign in to comment.