From 09f214f50a280f6406a9c67fb61d53344d5150cc Mon Sep 17 00:00:00 2001 From: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:04:02 -0500 Subject: [PATCH] Add selectors for bootstrap job so it doesn't run on template repo Signed-off-by: Yoriyasu Yano <430092+yorinasub17@users.noreply.github.com> --- .github/workflows/bootstrap.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index e3c98b0..a788d2b 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -18,6 +18,7 @@ permissions: jobs: bootstrap: runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' steps: - name: Checkout code