Merge pull request #11 from cds-snc/feature/enable-action-on-commit-msg

Re-enable the ai review action with a few conditions
This commit is contained in:
Jimmy Royer 2024-09-23 11:56:25 -04:00 committed by GitHub
commit bb1ea9dcf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 505 additions and 124 deletions

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