diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-21 16:42:55 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-21 16:42:55 +0100 |
commit | eb1668518fec0757889a53ea3edabc5f5b49f011 (patch) | |
tree | 0ddf5e120ca12b318d4df7a459bb3c5c0333b69f | |
parent | Improve doctypes in copilot (diff) | |
download | gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.tar gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.tar.gz gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.tar.bz2 gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.tar.lz gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.tar.xz gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.tar.zst gpt4free-eb1668518fec0757889a53ea3edabc5f5b49f011.zip |
-rw-r--r-- | .github/workflows/copilot.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/copilot.yml b/.github/workflows/copilot.yml index 1de81cb6..8b21ccfd 100644 --- a/.github/workflows/copilot.yml +++ b/.github/workflows/copilot.yml @@ -1,15 +1,17 @@ name: AI Code Reviewer on: - pull_request: + workflow_run: + workflows: ["build"] types: - - opened - - synchronize + - completed jobs: review: runs-on: ubuntu-latest - permissions: write-all + permissions: + contents: read + pull-requests: write steps: - name: Checkout Repo uses: actions/checkout@v3 @@ -25,5 +27,5 @@ jobs: run: pip install PyGithub - name: AI Code Review env: - GITHUB_TOKEN: ${{ secrets.COPILOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: python -m etc.tool.copilot |