summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 982f366d9d..4f2aeeb845 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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