summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-20 18:16:18 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-20 18:16:18 +0100
commit7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07 (patch)
tree81aa740920e41075cbaef7380fa0f4556dec7f79 /.github
parentFeedback form - https://forms.gle/FeWV9RLEedfdkmFN6 (diff)
downloadgpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.tar
gpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.tar.gz
gpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.tar.bz2
gpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.tar.lz
gpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.tar.xz
gpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.tar.zst
gpt4free-7f4d9ba82b73a04481a4ee52bf150f9cc68a2c07.zip
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/copilot.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/copilot.yml b/.github/workflows/copilot.yml
new file mode 100644
index 00000000..38c24378
--- /dev/null
+++ b/.github/workflows/copilot.yml
@@ -0,0 +1,33 @@
+name: AI Code Reviewer
+
+on:
+ pull_request:
+ types:
+ - opened
+ - synchronize
+
+env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
+permissions:
+ contents: read
+ pull-requests: write
+
+jobs:
+ review:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout Repo
+ uses: actions/checkout@v3
+
+ - name: Setup Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: "3.x"
+ cache: 'pip'
+ - name: Install Requirements
+ run: pip install -r requirements.txt
+ - name: Install PyGithub
+ run: pip install PyGithub
+ - name: AI Code Review
+ run: python -m etc.tool.copilot \ No newline at end of file