Added the draft handover and skipped builds for documentation-only changes (#1094)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-10-20 15:08:23 +02:00
1 parent 0e18cbbc58
commit 0f5b041729
7 files changed
+50 -7

No files matched your search

+24 -1
View File
@@ -5,12 +5,34 @@ on:
- main
tags:
- "v*.*.*"
# Changes which touch only these files start neither a build nor the quality gate: none of them is
# compiled or shipped, so there is nothing to check. GitHub never applies path filters to tags, so
# a release always builds. The list names each file and folder instead of matching all Markdown
# files: the changelogs below wwwroot are Markdown as well, and the app embeds them.
paths-ignore: &documentation_only
- "README.md"
- "CONTRIBUTING.md"
- "CODE_OF_CONDUCT.md"
- "SECURITY.md"
- "CITATION.cff"
- "**/AGENTS.md"
- "**/CLAUDE.md"
- ".junie/**"
- "documentation/**"
- "media/**"
- "tests/**/*.md"
- ".github/ISSUE_TEMPLATE/**"
- ".github/DISCUSSION_TEMPLATE/**"
- ".github/pull_request_template.md"
- ".github/FUNDING.yml"
pull_request:
types:
- opened
- labeled
- synchronize
- reopened
paths-ignore: *documentation_only
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && (github.event.action != 'labeled' || github.event.label.name == 'run-pipeline') && github.event.pull_request.number || github.run_id }}
@@ -746,7 +768,8 @@ jobs:
# The quality gate. Deliberately without an `if` on build_enabled: a pull request only builds
# when somebody sets the run-pipeline label, and a gate which is closed exactly while nobody is
# looking is not a gate. It is cheap for the same reason it is unconditional -- one platform, no
# Tauri bundle, no signing, no artifacts.
# Tauri bundle, no signing, no artifacts. Only changes which touch nothing but documentation skip
# it, together with the whole workflow (see paths-ignore at the top): there is nothing to check.
#
verify:
name: Verify