PG-375: only run code coverage test on merge

Signed-off-by: Kai Wagner <kai.wagner@percona.com>
pull/237/head
Kai Wagner 2022-05-24 10:50:42 +02:00
parent 23859b5a01
commit 233a578796
2 changed files with 8 additions and 3 deletions

View File

@ -1,8 +1,13 @@
name: code-coverage-test
on: ["push", "pull_request"]
on:
pull_request:
types:
- closed
jobs:
build:
if_merged:
if: github.event.pull_request.merged == true
build:
name: coverage-test
runs-on: ubuntu-latest
steps:

View File

@ -1,5 +1,5 @@
name: postgresql-14-build
on: [push]
on: ["push", "pull_request"]
jobs:
build: