Skip to content

Commit 7b2657e

Browse files
committed
Issue #174: skip docs-only pushes with paths-ignore on release-on-tag
Add paths-ignore (docs/**, **/*.md) to the push trigger of release-on-tag.yml so docs-only pushes do not start the tag workflow. Scope per the issue's constraints: the other two push-triggered workflows, ci.yml and maven.yml, are excluded because they produce the required status checks (build; Test Core Library (Java 21); Test with Tooling (Java 25); Build Docker image (Java 25)) and skipping them on docs-only pushes would leave those checks waiting. No workflow in this repo uses paths:, and none had existing paths-ignore to merge, so only release-on-tag.yml qualifies. Branch protection on main is not enabled (gh api returns 404), so the required checks are inferred from the PR check rollup. Verify: git show HEAD; python3 -c import yaml (file parses).
1 parent e2f1c13 commit 7b2657e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/release-on-tag.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
tags:
66
- 'release/[0-9]*.[0-9]*.[0-9]*'
7+
paths-ignore:
8+
- 'docs/**'
9+
- '**/*.md'
710

811
permissions:
912
contents: write

0 commit comments

Comments
 (0)