summaryrefslogtreecommitdiffstats
path: root/.github/workflows/copilot.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/copilot.yml')
-rw-r--r--.github/workflows/copilot.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/copilot.yml b/.github/workflows/copilot.yml
index 38c24378..7ec17ba6 100644
--- a/.github/workflows/copilot.yml
+++ b/.github/workflows/copilot.yml
@@ -6,16 +6,10 @@ on:
- opened
- synchronize
-env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
-permissions:
- contents: read
- pull-requests: write
-
jobs:
review:
runs-on: ubuntu-latest
+ permissions: write-all
steps:
- name: Checkout Repo
uses: actions/checkout@v3
@@ -30,4 +24,6 @@ jobs:
- name: Install PyGithub
run: pip install PyGithub
- name: AI Code Review
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python -m etc.tool.copilot \ No newline at end of file