Use list instead of array for branch names

This is the officially supported method
This commit is contained in:
flip1995 2020-02-12 11:02:07 +01:00
parent 71a5379bda
commit b0d25de54a
No known key found for this signature in database
GPG Key ID: 693086869D506637
5 changed files with 16 additions and 6 deletions

View File

@ -3,7 +3,9 @@ name: Clippy Test
on:
push:
# 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
paths-ignore:
- 'COPYRIGHT'

View File

@ -2,7 +2,9 @@ name: Clippy Test (bors)
on:
push:
branches: [auto, try]
branches:
- auto
- try
env:
RUST_BACKTRACE: 1

View File

@ -2,7 +2,9 @@ name: Clippy Dev Test
on:
push:
branches: [auto, try]
branches:
- auto
- try
pull_request:
# Only run on paths, that get checked by the clippy_dev tool
paths:

View File

@ -2,9 +2,11 @@ name: Deploy
on:
push:
branches: master
branches:
- master
release:
types: [created]
types:
- created
env:
TARGET_BRANCH: 'gh-pages'

View File

@ -2,7 +2,9 @@ name: Remark
on:
push:
branches: [auto, try]
branches:
- auto
- try
pull_request:
paths:
- '**.md'