From: XhmikosR Date: Mon, 26 Oct 2020 18:55:51 +0000 (+0200) Subject: CI: allow skipping BrowserStack (#31878) X-Git-Tag: v4.6.0~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=09df15cc3c03aca846ba284896caa18ef79fbe1f;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index f709b98da4..c6c29dba1d 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