Skip to content

Commit cf9c825

Browse files
committed
Auto merge of #11979 - Veykril:ci, r=lnicola
minor: Don't run CI on master branch
2 parents 15844bf + baaf18b commit cf9c825

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/ci.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
pull_request:
77
push:
88
branches:
9-
- master
10-
- staging
11-
- trying
129
- auto
1310
- try
1411

@@ -22,7 +19,7 @@ env:
2219

2320
jobs:
2421
rust:
25-
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
22+
if: github.repository == 'rust-lang/rust-analyzer'
2623
name: Rust
2724
runs-on: ${{ matrix.os }}
2825
env:
@@ -67,7 +64,7 @@ jobs:
6764

6865
# Weird targets to catch non-portable code
6966
rust-cross:
70-
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
67+
if: github.repository == 'rust-lang/rust-analyzer'
7168
name: Rust Cross
7269
runs-on: ubuntu-latest
7370

@@ -104,7 +101,7 @@ jobs:
104101
done
105102
106103
typescript:
107-
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
104+
if: github.repository == 'rust-lang/rust-analyzer'
108105
name: TypeScript
109106
strategy:
110107
fail-fast: false

.github/workflows/metrics.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
metrics:
15-
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
15+
if: github.repository == 'rust-lang/rust-analyzer'
1616
runs-on: ubuntu-latest
1717

1818
steps:

.github/workflows/rustdoc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
rustdoc:
15-
if: github.repository == 'rust-analyzer/rust-analyzer' || github.repository == 'rust-lang/rust-analyzer'
15+
if: github.repository == 'rust-lang/rust-analyzer'
1616
runs-on: ubuntu-latest
1717

1818
steps:

0 commit comments

Comments
 (0)