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 job
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]>
(cherry picked from commit dfff7e6)
  • Loading branch information
jrvaldes committed Jan 16, 2023
1 parent 1d7361a commit 03b1690
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
- run: make check-config-template

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

0 comments on commit 03b1690

Please sign in to comment.