From f0ae5cceac1302d51cf62ffb180355bfc3300ae2 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 16 Dec 2022 09:22:18 +0200 Subject: CI: limit the on push triggers (#35574) Since now we have workflow_dispatch, we can trigger a workflow manually in case we don't have an open PR. Also, remove the custom `ci skip` code; it's supported natively for some time now: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/ --- .github/workflows/browserstack.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.github/workflows/browserstack.yml') diff --git a/.github/workflows/browserstack.yml b/.github/workflows/browserstack.yml index 9a2fc91e5..2a10dfc9d 100644 --- a/.github/workflows/browserstack.yml +++ b/.github/workflows/browserstack.yml @@ -2,6 +2,11 @@ name: BrowserStack on: push: + branches: + - main + pull_request: + branches: + - main workflow_dispatch: env: @@ -14,7 +19,7 @@ permissions: jobs: browserstack: runs-on: ubuntu-latest - if: github.repository == 'twbs/bootstrap' && (!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')) + if: github.repository == 'twbs/bootstrap' timeout-minutes: 30 steps: -- cgit v1.2.3