Skip to content

Commit

Permalink
CI: limit the on push triggers (#38291)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 22, 2023
1 parent 7d03805 commit c2671ec
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/browserstack.yml
Expand Up @@ -2,6 +2,8 @@ name: BrowserStack

on:
push:
branches:
- main
workflow_dispatch:

env:
Expand All @@ -14,7 +16,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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bundlewatch.yml
Expand Up @@ -2,8 +2,8 @@ name: Bundlewatch

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cspell.yml
Expand Up @@ -2,8 +2,8 @@ name: cspell

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/css.yml
Expand Up @@ -2,8 +2,8 @@ name: CSS

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Expand Up @@ -2,8 +2,8 @@ name: Docs

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/js.yml
Expand Up @@ -2,8 +2,8 @@ name: JS Tests

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Expand Up @@ -2,8 +2,8 @@ name: Lint

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-sass.yml
Expand Up @@ -2,8 +2,8 @@ name: CSS (node-sass)

on:
push:
branches-ignore:
- "dependabot/**"
branches:
- main
pull_request:
workflow_dispatch:

Expand Down

0 comments on commit c2671ec

Please sign in to comment.