aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/browserstack.yml
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-10-26 20:55:51 +0200
committerXhmikosR <[email protected]>2020-10-27 12:11:01 +0200
commit09df15cc3c03aca846ba284896caa18ef79fbe1f (patch)
tree739d09658cb3ebf51eb510c6a808d9ca55f7a851 /.github/workflows/browserstack.yml
parent1a90b8a4189779538eb91174877e28987a4538ac (diff)
downloadbootstrap-09df15cc3c03aca846ba284896caa18ef79fbe1f.tar.xz
bootstrap-09df15cc3c03aca846ba284896caa18ef79fbe1f.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/browserstack.yml')
-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