feat(ci): reduce Actions minutes via path filters and concurrency guards - #150
Merged
Merged
Conversation
- pr-checks.yml: skip the test suite for docs/** and CHANGELOG.md only PRs; GitHub marks the skipped check as passing for required-status checks - issue-native-automation.yml: add concurrency group keyed on issue number so rapid label changes / repeated /auto comments cancel earlier in-progress runs (mirrors the pattern already in issue-state-guard.yml) - repo-setup.yml: restrict the push trigger to .github/labels.yml changes so the label-sync job does not run on every commit to main - tests/workflow-config.sh: add assertions 16-18 covering the three changes https://claude.ai/code/session_017HzYmALW9iWXDXnoHhxxyP
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.
Summary
Follow-up to #81. Three targeted changes that reduce billable Actions minutes without weakening any gate or status-guard behavior.
pr-checks.yml— addpaths-ignore: [docs/**, CHANGELOG.md]so the full test suite is skipped on documentation-only PRs; GitHub marks the skipped check as passing for required-status-check purposesissue-native-automation.yml— add concurrency group keyed ongithub.event.issue.numberwithcancel-in-progress: true, mirroring the pattern already inissue-state-guard.yml, so rapid label changes or repeated/autocommands don't stack up parallel runsrepo-setup.yml— restrict thepushtrigger topaths: ['.github/labels.yml']so the label-sync job only runs when label configuration actually changestests/workflow-config.sh— add assertions 16–18 covering all three changes; all 56 assertions passTest plan
bash tests/workflow-config.sh— all assertions pass (56/56)Closes #149
Generated by Claude Code