2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-18 12:39:41 +03:00

CI: limit the on push triggers

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/
This commit is contained in:
XhmikosR
2021-12-20 14:31:06 +02:00
parent a9b3445060
commit a44d91b09e
8 changed files with 20 additions and 15 deletions
+6 -1
View File
@@ -2,6 +2,11 @@ name: BrowserStack
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
env:
@@ -11,7 +16,7 @@ env:
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: