From 37dc6e1031ea43a1d796d0b82347c453b97ec996 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 15 Apr 2020 16:43:02 +0300 Subject: [PATCH] Change when CI runs Run it for all pull requests, the master branch, and any branches that end with `-ci`. --- .github/workflows/browserstack.yml | 11 ++++++++++- .github/workflows/bundlewatch.yml | 11 ++++++++++- .github/workflows/css.yml | 11 ++++++++++- .github/workflows/dart-sass.yml | 11 ++++++++++- .github/workflows/docs.yml | 11 ++++++++++- .github/workflows/js.yml | 11 ++++++++++- .github/workflows/lint.yml | 11 ++++++++++- 7 files changed, 70 insertions(+), 7 deletions(-) diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index a14bd83f0c..7b19f09962 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -1,5 +1,14 @@ name: BrowserStack -on: [push] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true NODE: 10.x diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 5a2ccc8771..70fd682930 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -1,5 +1,14 @@ name: Bundlewatch -on: [push, pull_request] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true NODE: 10.x diff --git a/.github/workflows/css.yml b/.github/workflows/css.yml index cb4159da2b..eca69087e2 100644 --- a/.github/workflows/css.yml +++ b/.github/workflows/css.yml @@ -1,5 +1,14 @@ name: CSS -on: [push, pull_request] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true NODE: 10.x diff --git a/.github/workflows/dart-sass.yml b/.github/workflows/dart-sass.yml index 2328273f5b..1b6e176ca6 100644 --- a/.github/workflows/dart-sass.yml +++ b/.github/workflows/dart-sass.yml @@ -1,5 +1,14 @@ name: CSS (Dart Sass) -on: [push, pull_request] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true NODE: 10.x diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d40371d605..5be8c6dc53 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,5 +1,14 @@ name: Docs -on: [push, pull_request] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true NODE: 10.x diff --git a/.github/workflows/js.yml b/.github/workflows/js.yml index 2d0c72b6be..18a22c4814 100644 --- a/.github/workflows/js.yml +++ b/.github/workflows/js.yml @@ -1,5 +1,14 @@ name: JS Tests -on: [push, pull_request] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 715bdae1cd..0d9e94773e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,5 +1,14 @@ name: Lint -on: [push, pull_request] + +on: + push: + branches: + - master + - "**-ci" + pull_request: + branches: + - "**" + env: CI: true NODE: 10.x