|
|
@@ -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:
|