Stop unrelated post-merge workflow failures in Rules V3#12767
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Agent-Logs-Url: https://github.com/SSWConsulting/SSW.Rules.Content/sessions/fc6f5952-3d03-45a9-8baa-bef1790e86ce Co-authored-by: Calinator444 <65635198+Calinator444@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions workflows in Rules V3
Stop unrelated post-merge workflow failures in Rules V3
May 22, 2026
Member
|
Closing this - I'm going to ship the fix as a CotnentHawk fix. Thanks Copilot 👍 |
Calinator444
added a commit
that referenced
this pull request
May 27, 2026
…hecking issue relevance (#12782) ### Description This PR updates `contenthawk-snapshot-done` to use pre-activation steps to check if the closed issue was relevant rather than throwing an error. This doesn't functionally change how the workflow works, but it means when the workflow is skipped it will not show up as an error in GitHub actions. Changes based on this PR (I just used GitHub scripts instead since it's easier to read): #12767 ### Note This PR was Generated by the 🦅ContentHawk installer because I wanted to roll out the fix for ContentHawk in general. ### Screenshot <img width="1563" height="596" alt="CleanShot 2026-05-28 at 08 47 14" src="https://github.com/user-attachments/assets/cfd17bce-26d2-43fa-b03e-721911a74975" /> **Figure: Workflows being skipped on test repo** ### Fixed #12766
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
YakShaver-raised issue: two workflows were failing after normal merges in Rules V3, creating noisy false-failure notifications (
Content Snapshot Cleanup (Agent 3b)andValidate-Frontmatter-in-All-Rules).The failures were caused by (1) a guard step treating expected non-match as hard failure, and (2) a legacy validator workflow targeting a removed path.
Content Snapshot Cleanup (Agent 3b)
is_contenthawk_judge_issueoutput in pre-activation and gated activation on it forissuesevents.exit 1guard step that produced false failures.Validate front matter in all rules
.github/workflows/validate-frontmatter-all.yml(obsolete for Rules V3 layout; it searchedrules/which no longer exists).Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/github/gh-aw/releases/latest/usr/bin/gh gh extension install github/gh-aw(http block)If you need me to access, download, or install something from one of these locations, you can either: