Add write permissions to CI workflow (#118)
See https://github.com/astral-sh/uv-pre-commit/issues/44
This commit is contained in:
parent
99abe27a5a
commit
87c3371eb1
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -10,6 +10,8 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: main
|
name: main
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- if: ${{ startsWith(github.event_name, 'repository_dispatch') }}
|
- if: ${{ startsWith(github.event_name, 'repository_dispatch') }}
|
||||||
run: sleep 30
|
run: sleep 30
|
||||||
|
Loading…
Reference in New Issue
Block a user