mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
add pull-request: write permission for pre-commit checks
This commit is contained in:
parent
808e47031d
commit
0f6f58cae2
2 changed files with 5 additions and 7 deletions
10
.github/workflows/pre-commit.yml
vendored
10
.github/workflows/pre-commit.yml
vendored
|
|
@ -1,4 +1,8 @@
|
|||
name: Pre-commit
|
||||
name: Pre-commit Checks
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
@ -7,10 +11,6 @@ on:
|
|||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue