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
|
||||
- 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
|
9
.github/workflows/unittest.yml
vendored
9
.github/workflows/unittest.yml
vendored
@ -1,6 +1,13 @@
|
||||
name: Unittest
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user