mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-23 21:22:35 +03:00
feat: ci permissions (#589)
This commit is contained in:
parent
80d53b96d3
commit
a6658cdaee
11
.github/workflows/code-review-gpt.yml
vendored
11
.github/workflows/code-review-gpt.yml
vendored
@ -4,6 +4,9 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@ -24,7 +27,7 @@ jobs:
|
||||
- name: Run code review script
|
||||
run: npx code-review-gpt --ci
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||
GITHUB_SHA: ${{ github.sha }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
BASE_SHA: ${{ github.event.pull_request.base.sha }}
|
||||
GITHUB_SHA: ${{ github.sha }}
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
|
Loading…
Reference in New Issue
Block a user