From eea7bb8a614083157fa4109ad74f9fc0c1dde356 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sun, 11 Feb 2024 12:21:06 +0100 Subject: [PATCH] ci/misc: fix double push/pull runs --- .github/workflows/abi.yml | 8 +++++++- .github/workflows/ios.yml | 8 +++++++- .github/workflows/lint.yml | 8 +++++++- .github/workflows/mingw.yml | 8 +++++++- .github/workflows/run-on-arch.yml | 8 +++++++- .github/workflows/ssl.yml | 8 +++++++- .github/workflows/valgrind.yml | 8 +++++++- 7 files changed, 49 insertions(+), 7 deletions(-) diff --git a/.github/workflows/abi.yml b/.github/workflows/abi.yml index e3792a5ab..3926a9084 100644 --- a/.github/workflows/abi.yml +++ b/.github/workflows/abi.yml @@ -1,6 +1,12 @@ name: ABI Checks -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: abicheck: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 75fa3e069..6415e43dc 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -1,6 +1,12 @@ name: iOS -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: ios: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 68d68d01a..fe39d96e4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,12 @@ name: lint -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: lint: diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index bf8b7da26..2b6a1f95f 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -1,6 +1,12 @@ name: MinGW-w64 Test -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: MinGW-w64-build: diff --git a/.github/workflows/run-on-arch.yml b/.github/workflows/run-on-arch.yml index 6be3488ce..5a2c66137 100644 --- a/.github/workflows/run-on-arch.yml +++ b/.github/workflows/run-on-arch.yml @@ -1,4 +1,10 @@ -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: build_job: diff --git a/.github/workflows/ssl.yml b/.github/workflows/ssl.yml index 510346c89..39822f776 100644 --- a/.github/workflows/ssl.yml +++ b/.github/workflows/ssl.yml @@ -1,6 +1,12 @@ name: OpenSSL no-deprecated and LibreSSL -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: ssl: diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 6cfa3a44e..201a5fa15 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -1,6 +1,12 @@ name: valgrind leak check -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: valgrind: