ci-verify: Run get-scripts only on main branch
This change adjusts the get-script and get-script-with-verification jobs
to only run for PRs where the target branch is `main`, so that release
branches do not fail with the latest configuration.
Closes
@@ -97,6 +97,7 @@ jobs:
- run: make check-config-template
get-script:
+ if: ${{ github.base_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
@@ -104,6 +105,7 @@ jobs:
- run: crio version
get-script-with-verification:
+ if: ${{ github.base_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
