From 03b1690ae1287ff6ec921c3ca7f539f3157efaea Mon Sep 17 00:00:00 2001 From: Jose Valdes Date: Tue, 10 Jan 2023 17:26:15 -0500 Subject: [PATCH] ci-verify: Run get-scripts only on main branch 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 #6512 Signed-off-by: Jose Valdes (cherry picked from commit dfff7e6b40d230fe1c468a64b1379a769151ffe8) --- .github/workflows/verify.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 476f4bfebbb..1c804343ee7 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -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