diff --git a/.github/workflows/CI-cygwin.yml b/.github/workflows/CI-cygwin.yml index 31557ecbc..b9ea30470 100644 --- a/.github/workflows/CI-cygwin.yml +++ b/.github/workflows/CI-cygwin.yml @@ -4,7 +4,14 @@ name: CI-cygwin -on: [push,pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/CI-mingw.yml b/.github/workflows/CI-mingw.yml index 152e84902..cf64096f5 100644 --- a/.github/workflows/CI-mingw.yml +++ b/.github/workflows/CI-mingw.yml @@ -4,7 +4,14 @@ name: CI-mingw -on: [push,pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/CI-unixish-docker.yml b/.github/workflows/CI-unixish-docker.yml index 3558e6a57..9bfc5a017 100644 --- a/.github/workflows/CI-unixish-docker.yml +++ b/.github/workflows/CI-unixish-docker.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: CI-unixish-docker -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/CI-unixish.yml b/.github/workflows/CI-unixish.yml index 856229f6d..44535cd07 100644 --- a/.github/workflows/CI-unixish.yml +++ b/.github/workflows/CI-unixish.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: CI-unixish -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/CI-windows.yml b/.github/workflows/CI-windows.yml index 0b9155716..8589e43bb 100644 --- a/.github/workflows/CI-windows.yml +++ b/.github/workflows/CI-windows.yml @@ -4,7 +4,14 @@ name: CI-windows -on: [push,pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/asan.yml b/.github/workflows/asan.yml index c29ecde8a..89dc81d7c 100644 --- a/.github/workflows/asan.yml +++ b/.github/workflows/asan.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: address sanitizer -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/buildman.yml b/.github/workflows/buildman.yml index 4bbdf7796..30cc5b16a 100644 --- a/.github/workflows/buildman.yml +++ b/.github/workflows/buildman.yml @@ -1,6 +1,13 @@ name: Build manual -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 7bcd8bd8e..3eda19549 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: clang-tidy -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 12d158555..f486cf9e2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,6 +1,13 @@ name: "CodeQL" -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b07c15811..5018f2c3b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: Coverage -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index ff3134b7e..3ae9ceb20 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: format -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/scriptcheck.yml b/.github/workflows/scriptcheck.yml index 6ef6d90ee..d6223caaf 100644 --- a/.github/workflows/scriptcheck.yml +++ b/.github/workflows/scriptcheck.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: scriptcheck -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/selfcheck.yml b/.github/workflows/selfcheck.yml index 8cd028f9a..70cc147c4 100644 --- a/.github/workflows/selfcheck.yml +++ b/.github/workflows/selfcheck.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: selfcheck -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/tsan.yml b/.github/workflows/tsan.yml index 876e19761..850453aa1 100644 --- a/.github/workflows/tsan.yml +++ b/.github/workflows/tsan.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: thread sanitizer -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/ubsan.yml b/.github/workflows/ubsan.yml index 2a422710b..2fc169dcc 100644 --- a/.github/workflows/ubsan.yml +++ b/.github/workflows/ubsan.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: undefined behaviour sanitizers -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 1753e6f0a..cf03ff89f 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -2,7 +2,14 @@ # Environment reference https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners name: valgrind -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'releases/**' + tags: + - '2.*' + pull_request: permissions: contents: read