Skip to content

Commit

Permalink
Tune CI triggers (#444)
Browse files Browse the repository at this point in the history
* Use commong CI triggers for all workflows

* Tune CI triggers, fix version tag regex

* Escape regex
  • Loading branch information
artemgavrilov authored Apr 18, 2024
1 parent e3d6dc4 commit 2ebd163
Show file tree
Hide file tree
Showing 25 changed files with 168 additions and 25 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/code-coverage-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: code-coverage-test
on: [pull_request]
on:
pull_request:
push:
branches:
- main

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: cppcheck-action-test
on: [push]
on:
pull_request:

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-11-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-11-build
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-11-pgdg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-11-pgdg-package
on: [pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-11-pmm.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-11-pmm-integration
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-11-ppg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-11-ppg-package
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-12-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-12-build
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-12-pgdg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-12-pgdg-package
on: [pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-12-pmm.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-12-pmm-integration
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-12-ppg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-12-ppg-package
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-13-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-13-build
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-13-pgdg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-13-pgdg-package
on: [pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-13-pmm.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-13-pmm-integration
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-13-ppg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-13-ppg-package
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-14-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-14-build
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-14-pgdg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-14-pgdg-package
on: [pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-14-pmm.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-14-pmm-integration
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-14-ppg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-14-ppg-package
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-15-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-15-build
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-15-pgdg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-15-pgdg-package
on: [pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-15-pmm.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-15-pmm-integration
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-15-ppg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-15-ppg-package
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-16-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-16-build
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-16-pgdg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-16-pgdg-package
on: [pull_request]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/postgresql-16-ppg-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: postgresql-16-ppg-package
on: [push]
on:
pull_request:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
build:
Expand Down

0 comments on commit 2ebd163

Please sign in to comment.