mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
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.
This commit is contained in:
parent
6c1df1b788
commit
eb91c2ec2a
2
.github/workflows/browserstack.yml
vendored
2
.github/workflows/browserstack.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user