mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
minor: Don't run CI on master branch
This commit is contained in:
parent
8ab26f6abc
commit
baaf18b1e1
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -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
|
||||
|
2
.github/workflows/metrics.yaml
vendored
2
.github/workflows/metrics.yaml
vendored
@ -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:
|
||||
|
2
.github/workflows/rustdoc.yaml
vendored
2
.github/workflows/rustdoc.yaml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user