From 870c045161da0981e29bd31f18769ee1ea7cf77f Mon Sep 17 00:00:00 2001 From: Nicola Molinari Date: Thu, 30 Jun 2022 21:19:44 +0200 Subject: [PATCH] ci: skip main workflow in changeset versions PR --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e687879d99..f81f1de5b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,6 +9,8 @@ on: branches: - main pull_request: + branches: + - "!changeset-release/main" jobs: lint_and_test: @@ -131,7 +133,7 @@ jobs: test_starter_template_installation: runs-on: ubuntu-latest - if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/changeset-release/main' }} + if: github.ref != 'refs/heads/main' timeout-minutes: 15 @@ -217,7 +219,7 @@ jobs: test_starter_template_typescript_installation: runs-on: ubuntu-latest - if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/changeset-release/main' }} + if: github.ref != 'refs/heads/main' timeout-minutes: 15