Skip to content

Commit baaf18b

Browse files
committed
minor: Don't run CI on master branch
1 parent 8ab26f6 commit baaf18b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 6 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)