aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-10-26 20:55:51 +0200
committerGitHub <[email protected]>2020-10-26 20:55:51 +0200
commiteb91c2ec2a7598c02b9920c012611187039708fc (patch)
treeb52f574d044e7fd5503e8a5fbc7c907128cbfc3b /.github/workflows
parent6c1df1b788c934a0ec704420ed1abc253448b689 (diff)
downloadbootstrap-eb91c2ec2a7598c02b9920c012611187039708fc.tar.xz
bootstrap-eb91c2ec2a7598c02b9920c012611187039708fc.zip
CI: allow skipping BrowserStack (#31878)
This basically brings back the previous behavior we had on Travis CI, where if the commit message included `[ci skip]`, BrowserStack tests didn't run. Additionally, this allows skipping BrowserStack if the commit message contains `[skip ci]` too.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/browserstack.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml
index f709b98da..c6c29dba1 100644
--- a/.github/workflows/browserstack.yml
+++ b/.github/workflows/browserstack.yml
@@ -7,7 +7,7 @@ env:
jobs:
browserstack:
runs-on: ubuntu-latest
- if: github.repository == 'twbs/bootstrap'
+ if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]'))
steps:
- name: Clone repository