tidy: Check GitHub workflow permissions
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
name: Release
|
||||
|
||||
permissions:
|
||||
# TODO: once `releases: write` is supported, use it instead.
|
||||
contents: write
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -18,6 +17,8 @@ jobs:
|
||||
if: github.repository_owner == 'taiki-e'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user