mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-04-20 01:26:47 +00:00
Re-enable the ai review action with a few conditions
This commit is contained in:
parent
d1f892332a
commit
f9a928e4e3
1 changed files with 7 additions and 5 deletions
12
.github/workflows/code_review.yml
vendored
12
.github/workflows/code_review.yml
vendored
|
@ -1,12 +1,14 @@
|
||||||
name: CDS Code Review with OpenAI
|
name: CDS Code Review with OpenAI
|
||||||
# on:
|
on:
|
||||||
# pull_request:
|
push:
|
||||||
# types:
|
branches-ignore:
|
||||||
# - opened
|
- main
|
||||||
# - synchronize
|
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code_review:
|
code_review:
|
||||||
|
if: contains(github.event.head_commit.message, '[review]')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue