mirror of https://github.com/rust-lang/rust.git
Use list instead of array for branch names
This is the officially supported method
This commit is contained in:
parent
71a5379bda
commit
b0d25de54a
|
@ -3,7 +3,9 @@ name: Clippy Test
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
# Ignore bors branches, since they are covered by `clippy_bors.yml`
|
# Ignore bors branches, since they are covered by `clippy_bors.yml`
|
||||||
branches-ignore: [auto, try]
|
branches-ignore:
|
||||||
|
- auto
|
||||||
|
- try
|
||||||
# Don't run Clippy tests, when only textfiles were modified
|
# Don't run Clippy tests, when only textfiles were modified
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'COPYRIGHT'
|
- 'COPYRIGHT'
|
||||||
|
|
|
@ -2,7 +2,9 @@ name: Clippy Test (bors)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [auto, try]
|
branches:
|
||||||
|
- auto
|
||||||
|
- try
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
|
|
@ -2,7 +2,9 @@ name: Clippy Dev Test
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [auto, try]
|
branches:
|
||||||
|
- auto
|
||||||
|
- try
|
||||||
pull_request:
|
pull_request:
|
||||||
# Only run on paths, that get checked by the clippy_dev tool
|
# Only run on paths, that get checked by the clippy_dev tool
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -2,9 +2,11 @@ name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: master
|
branches:
|
||||||
|
- master
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types:
|
||||||
|
- created
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TARGET_BRANCH: 'gh-pages'
|
TARGET_BRANCH: 'gh-pages'
|
||||||
|
|
|
@ -2,7 +2,9 @@ name: Remark
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [auto, try]
|
branches:
|
||||||
|
- auto
|
||||||
|
- try
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
|
Loading…
Reference in New Issue