mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-23 09:10:13 +03:00
Update workflow
This commit is contained in:
parent
9cbe9c1ccb
commit
e13aa2e438
10
.github/workflows/copilot.yml
vendored
10
.github/workflows/copilot.yml
vendored
@ -6,16 +6,10 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
review:
|
review:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions: write-all
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -30,4 +24,6 @@ jobs:
|
|||||||
- name: Install PyGithub
|
- name: Install PyGithub
|
||||||
run: pip install PyGithub
|
run: pip install PyGithub
|
||||||
- name: AI Code Review
|
- name: AI Code Review
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: python -m etc.tool.copilot
|
run: python -m etc.tool.copilot
|
9
.github/workflows/unittest.yml
vendored
9
.github/workflows/unittest.yml
vendored
@ -1,6 +1,13 @@
|
|||||||
name: Unittest
|
name: Unittest
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user