Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #11979 - Veykril:ci, r=lnicola
minor: Don't run CI on master branch
bors 2022-04-14
parent 15844bf · parent baaf18b · commit cf9c825
-rw-r--r--.github/workflows/ci.yaml9
-rw-r--r--.github/workflows/metrics.yaml2
-rw-r--r--.github/workflows/rustdoc.yaml2
3 files changed, 5 insertions, 8 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index feb6cc95ac..32fc63a795 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 c09642868d..ecd3993e3f 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 eccc7d6858..2fd7ed4343 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: