Re-enable the ai review action with a few conditions

This commit is contained in:
Jimmy Royer 2024-09-17 16:00:15 -04:00
parent d1f892332a
commit f9a928e4e3

View file

@ -1,12 +1,14 @@
name: CDS Code Review with OpenAI
# on:
# pull_request:
# types:
# - opened
# - synchronize
on:
push:
branches-ignore:
- main
permissions: write-all
jobs:
code_review:
if: contains(github.event.head_commit.message, '[review]')
runs-on: ubuntu-latest
steps:
- name: Checkout repository