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: 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'

View File

@ -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

View File

@ -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:

View File

@ -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'

View File

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