mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
ci: trigger code-qa workflow on pull_request_review approval (#11636)
This commit is contained in:
parent
2991bc9a39
commit
a55c85a8ec
1 changed files with 15 additions and 0 deletions
15
.github/workflows/code-qa.yml
vendored
15
.github/workflows/code-qa.yml
vendored
|
|
@ -7,9 +7,15 @@ on:
|
|||
pull_request:
|
||||
types: [opened, reopened, ready_for_review, synchronize]
|
||||
branches: [main]
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
check-translations:
|
||||
if: |
|
||||
github.event_name != 'pull_request_review' ||
|
||||
github.event.review.state == 'approved'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -20,6 +26,9 @@ jobs:
|
|||
run: node scripts/find-missing-translations.js
|
||||
|
||||
knip:
|
||||
if: |
|
||||
github.event_name != 'pull_request_review' ||
|
||||
github.event.review.state == 'approved'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -30,6 +39,9 @@ jobs:
|
|||
run: pnpm knip
|
||||
|
||||
compile:
|
||||
if: |
|
||||
github.event_name != 'pull_request_review' ||
|
||||
github.event.review.state == 'approved'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
|
@ -43,6 +55,9 @@ jobs:
|
|||
|
||||
unit-test:
|
||||
name: platform-unit-test (${{ matrix.name }})
|
||||
if: |
|
||||
github.event_name != 'pull_request_review' ||
|
||||
github.event.review.state == 'approved'
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue