From: Bernd Schubert Date: Tue, 18 Feb 2025 20:45:05 +0000 (+0100) Subject: github ci tests: Update the stable branch name to include fuse- X-Git-Tag: fuse-3.17.1-rc1~1 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d7507b4d6f1d126c0bd25dd947a40d9f064658cf;p=qemu-gpiodev%2Flibfuse.git github ci tests: Update the stable branch name to include fuse- The branch is actually called fuse-3.17.x Also disable checkpatch for branches except master, as it is to do basic checks, while stable branches do not need that check, assuming cherry-pick happens from master. Issue with it is that persistently complains about dependabot changes. Signed-off-by: Bernd Schubert --- diff --git a/.github/workflows/abicheck.yml b/.github/workflows/abicheck.yml index 526fb42..10a8e6d 100644 --- a/.github/workflows/abicheck.yml +++ b/.github/workflows/abicheck.yml @@ -5,11 +5,11 @@ on: push: branches: - master - - '[0-9]+.[0-9]+' # This will match branches like 3.17, 3.18, 4.0, etc. + - 'fuse-[0-9]+.[0-9]+*' # This will match branches like 3.17, 3.18, 4.0, etc. pull_request: branches: - master - - '[0-9]+.[0-9]+' + - 'fuse-[0-9]+.[0-9]+*' permissions: contents: read diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml index 1adada4..622542c 100644 --- a/.github/workflows/checkpatch.yml +++ b/.github/workflows/checkpatch.yml @@ -1,8 +1,14 @@ name: Checkpatch on: + push: + branches: + - master pull_request: - types: [opened, synchronize, reopened] + branches: + - master +permissions: + contents: read jobs: checkpatch: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index cefd1fc..474f2c8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -15,11 +15,11 @@ on: push: branches: - master - - '[0-9]+.[0-9]+' # This will match branches like 3.17, 3.18, 4.0, etc. + - 'fuse-[0-9]+.[0-9]+*' # This will match branches like 3.17, 3.18, 4.0, etc. pull_request: branches: - master - - '[0-9]+.[0-9]+' + - 'fuse-[0-9]+.[0-9]+*' jobs: analyze: diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 3b771c1..184fbcf 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -5,11 +5,11 @@ on: push: branches: - master - - '[0-9]+.[0-9]+' # This will match branches like 3.17, 3.18, 4.0, etc. + - 'fuse-[0-9]+.[0-9]+*' # This will match branches like 3.17, 3.18, 4.0, etc. pull_request: branches: - master - - '[0-9]+.[0-9]+' + - 'fuse-[0-9]+.[0-9]+*' permissions: contents: read diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index ccaaf72..4bb7f66 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -4,11 +4,11 @@ on: push: branches: - master - - '[0-9]+.[0-9]+' # This will match branches like 3.17, 3.18, 4.0, etc. + - 'fuse-[0-9]+.[0-9]+*' # This will match branches like 3.17, 3.18, 4.0, etc. pull_request: branches: - master - - '[0-9]+.[0-9]+' + - 'fuse-[0-9]+.[0-9]+*' permissions: contents: read