From 80186177e2958fcda9e2d23e8385c626b2e477a2 Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Fri, 24 Nov 2023 13:22:08 +0100 Subject: [PATCH] build(.github) fix skipping of workflows --- .github/workflows/docs.yml | 4 ++-- .github/workflows/phpcbf.yml | 4 ++-- .github/workflows/spelling.yml | 2 +- .github/workflows/static-analysis.yml | 4 ++-- .github/workflows/test.yaml | 6 ++++-- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3609c838b..f4d45fd34 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,12 +6,12 @@ on: - 'mkdocs.yml' - '.github/workflows/docs.yml' push: + branches: + - '**' paths: - 'docs/**' - 'mkdocs.yml' - '.github/workflows/docs.yml' - branches: - - master permissions: contents: write jobs: diff --git a/.github/workflows/phpcbf.yml b/.github/workflows/phpcbf.yml index 027a73696..1e2a2769c 100644 --- a/.github/workflows/phpcbf.yml +++ b/.github/workflows/phpcbf.yml @@ -9,12 +9,12 @@ on: # yamllint disable-line rule:truthy - 'includes/**' - '.github/workflows/phpcbf.yml' push: + branches: + - '**' paths: - 'src/**' - 'includes/**' - '.github/workflows/phpcbf.yml' - branches: - - master jobs: php-codesniffer: diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index e748f661a..d2d92b120 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy pull_request: null push: branches: - - "master" + - '**' permissions: contents: "read" diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 49e5a3fd0..5b9cbc893 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -11,14 +11,14 @@ on: # yamllint disable-line rule:truthy - 'composer.json' - '.github/workflows/static-analysis.yml' push: + branches: + - '**' paths: - 'src/**' - 'includes/**' - 'tests/**' - 'composer.json' - '.github/workflows/static-analysis.yml' - branches: - - "master" permissions: contents: "read" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4fa7a9cb7..2eb9c8f66 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,6 +4,8 @@ name: Test on: # yamllint disable-line rule:truthy pull_request: + branches: + - '**' paths: - 'src/**' - 'includes/**' @@ -11,14 +13,14 @@ on: # yamllint disable-line rule:truthy - 'composer.json' - '.github/workflows/test.yaml' push: + branches: + - '**' paths: - 'src/**' - 'includes/**' - 'tests/**' - 'composer.json' - '.github/workflows/test.yaml' - branches: - - "master" permissions: contents: "read"