Add write permissions to CI workflow (#118)

See https://github.com/astral-sh/uv-pre-commit/issues/44
This commit is contained in:
Zanie Blue 2025-03-18 18:07:34 -05:00 committed by GitHub
parent 99abe27a5a
commit 87c3371eb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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