🧪🚑 Fix checking schema in CI on merge (#15514)

This is a variation of #15510, this time fixing the
`detect-schema-change` make target.
This commit is contained in:
Sviatoslav Sydorenko (Святослав Сидоренко) 2024-09-13 22:19:35 +02:00 committed by GitHub
parent 1b1975a93b
commit d0cc2a1658
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,10 @@ jobs:
- name: awx-collection
command: /start_tests.sh test_collection_all
- name: api-schema
command: /start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{ github.event.pull_request.base.ref }}
command: >-
/start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{
github.event.pull_request.base.ref || github.ref_name
}}
steps:
- uses: actions/checkout@v4