ci(molecule): skip scenarios for a change under .claude/ only
Build / build (pull_request) Successful in 14s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 23s

No scenario reads .claude/: Claude Code reads it on a contributor's
machine. Add it to the IGNORED list beside apm.yml, so a change to the
agent settings or apm-deployed hooks no longer runs every scenario.

Assisted-by: Claude Code
This commit is contained in:
Defame1297 committed 2026-11-23 10:41:45 +00:00
1 parent bfdbc9b42b
commit fa661be5c2
2 files changed
+8

No files matched your search

@@ -172,6 +172,13 @@ class SelectTest(unittest.TestCase):
)
self.assertEqual(chosen, [])
def test_agent_tool_settings_select_nothing(self):
# Claude Code reads .claude/ on a contributor's machine; no scenario reads it.
chosen, _reason = self.select(
[".claude/settings.json", ".claude/hooks/guard.sh"],
)
self.assertEqual(chosen, [])
def test_role_readme_selects_nothing(self):
# A role's README is documentation; its scenarios and its users' do not read it.
chosen, _reason = self.select(["roles/docker/README.md"])