From b8aaf85fdca926c6aff3d20cb9955e063e997ec1 Mon Sep 17 00:00:00 2001 From: Levente Balogh Date: Fri, 13 Jan 2023 09:43:09 +0100 Subject: [PATCH] Levitate: Only run against the main branch (#61401) chore: only run Levitate against the main branch --- .github/workflows/detect-breaking-changes-build-skip.yml | 2 ++ .github/workflows/detect-breaking-changes-build.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/detect-breaking-changes-build-skip.yml b/.github/workflows/detect-breaking-changes-build-skip.yml index 5b71987e0fe..58e3cb56424 100644 --- a/.github/workflows/detect-breaking-changes-build-skip.yml +++ b/.github/workflows/detect-breaking-changes-build-skip.yml @@ -8,6 +8,8 @@ on: pull_request: paths-ignore: - "packages/**" + branches: + - 'main' jobs: detect: diff --git a/.github/workflows/detect-breaking-changes-build.yml b/.github/workflows/detect-breaking-changes-build.yml index e7a5ebfbb1b..02a36d33d3e 100644 --- a/.github/workflows/detect-breaking-changes-build.yml +++ b/.github/workflows/detect-breaking-changes-build.yml @@ -7,6 +7,8 @@ on: pull_request: paths: - 'packages/**' + branches: + - 'main' jobs: buildPR: