0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

CI: limit the on push triggers (#38291)

This commit is contained in:
XhmikosR 2023-03-22 09:03:51 +02:00 committed by GitHub
parent 7d03805205
commit c2671ecc2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 15 deletions

View File

@ -2,6 +2,8 @@ name: BrowserStack
on: on:
push: push:
branches:
- main
workflow_dispatch: workflow_dispatch:
env: env:
@ -14,7 +16,7 @@ permissions:
jobs: jobs:
browserstack: browserstack:
runs-on: ubuntu-latest 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 timeout-minutes: 30
steps: steps:

View File

@ -2,8 +2,8 @@ name: Bundlewatch
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:

View File

@ -2,8 +2,8 @@ name: cspell
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:

View File

@ -2,8 +2,8 @@ name: CSS
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:

View File

@ -2,8 +2,8 @@ name: Docs
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:

View File

@ -2,8 +2,8 @@ name: JS Tests
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:

View File

@ -2,8 +2,8 @@ name: Lint
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:

View File

@ -2,8 +2,8 @@ name: CSS (node-sass)
on: on:
push: push:
branches-ignore: branches:
- "dependabot/**" - main
pull_request: pull_request:
workflow_dispatch: workflow_dispatch: