Skip to content

Commit

Permalink
ci: Turn off builds for pushes and merges to master/stable*
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Oct 30, 2023
1 parent cd20ba2 commit cbc1138
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 85 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/integration-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ on:
paths:
# Only running on PR for this file to save CI time (otherwise pgsql only)
- '.github/workflows/integration-mysql.yml'

push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/integration-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ on:
paths:
# Only running on PR for this file to save CI time (otherwise pgsql only)
- '.github/workflows/integration-oci.yml'

push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/integration-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ name: Integration pgsql

on:
pull_request:
push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/integration-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@ on:
paths:
# Only running on PR for this file to save CI time (otherwise pgsql only)
- '.github/workflows/integration-sqlite.yml'

push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

name: Lint eslint

on:
pull_request:
on: pull_request

permissions:
contents: read
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/lint-info-xml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@

name: Lint info.xml

on:
pull_request:
push:
branches:
- main
- master
- stable*
on: pull_request

permissions:
contents: read
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@

name: Lint php

on:
pull_request:
push:
branches:
- main
- master
- stable*
on: pull_request

permissions:
contents: read
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@

name: Node

on:
pull_request:
push:
branches:
- main
- master
- stable*
on: pull_request

permissions:
contents: read
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/occ-command-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ on:
- 'composer.json'
- 'composer.lock'

push:
branches:
- main
- master
- stable*

permissions:
contents: read

Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: OpenAPI

on:
pull_request:
push:
branches:
- master
- stable*
on: pull_request

permissions:
contents: read
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ name: PHPUnit mysql

on:
pull_request:
push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/phpunit-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ name: PHPUnit OCI

on:
pull_request:
push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/phpunit-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ name: PHPUnit pgsql

on:
pull_request:
push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/phpunit-sqlite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ name: PHPUnit sqlite

on:
pull_request:
push:
branches:
- main
- master
- stable*
schedule:
- cron: "5 2 * * *"

permissions:
contents: read
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@

name: Static analysis

on:
pull_request:
push:
branches:
- master
- main
- stable*
on: pull_request

concurrency:
group: psalm-${{ github.head_ref || github.run_id }}
Expand Down

0 comments on commit cbc1138

Please sign in to comment.