Skip to content

Commit

Permalink
ci-verify: Run get-scripts only on main branch
Browse files Browse the repository at this point in the history
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 cri-o#6512

Signed-off-by: Jose Valdes <[email protected]>
  • Loading branch information
jrvaldes authored and openshift-cherrypick-robot committed Jan 12, 2023
1 parent 1d7407e commit dfff7e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@ jobs:
- run: make check-config-template

get-script:
if: ${{ github.base_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: sudo scripts/get
- run: crio version

get-script-with-verification:
if: ${{ github.base_ref == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit dfff7e6

Please sign in to comment.