From baaf18b1e15e4a808e0de598645dbb33124ff534 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Thu, 14 Apr 2022 00:42:51 +0200 Subject: [PATCH] minor: Don't run CI on master branch --- .github/workflows/ci.yaml | 9 +++------ .github/workflows/metrics.yaml | 2 +- .github/workflows/rustdoc.yaml | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index feb6cc95ac7..32fc63a7950 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,9 +6,6 @@ on: pull_request: push: branches: - - master - - staging - - trying - auto - try @@ -22,7 +19,7 @@ env: jobs: rust: - if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer' + if: github.repository == 'rust-lang/rust-analyzer' name: Rust runs-on: ${{ matrix.os }} env: @@ -67,7 +64,7 @@ jobs: # Weird targets to catch non-portable code rust-cross: - if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer' + if: github.repository == 'rust-lang/rust-analyzer' name: Rust Cross runs-on: ubuntu-latest @@ -104,7 +101,7 @@ jobs: done typescript: - if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer' + if: github.repository == 'rust-lang/rust-analyzer' name: TypeScript strategy: fail-fast: false diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index c09642868d2..ecd3993e3fe 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -12,7 +12,7 @@ env: jobs: metrics: - if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer' + if: github.repository == 'rust-lang/rust-analyzer' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/rustdoc.yaml b/.github/workflows/rustdoc.yaml index eccc7d6858b..2fd7ed43431 100644 --- a/.github/workflows/rustdoc.yaml +++ b/.github/workflows/rustdoc.yaml @@ -12,7 +12,7 @@ env: jobs: rustdoc: - if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer' + if: github.repository == 'rust-lang/rust-analyzer' runs-on: ubuntu-latest steps: