test(ci): probe autofix with a ruff format violation

This commit is contained in:
Adam Moussa 2026-09-22 15:56:30 -04:00
parent ece6666832
commit 9ce42207aa
No known key found for this signature in database

View file

@ -11,7 +11,8 @@ def test_github_deploy_trust_uses_org_reusable_and_caller():
assert "repo:Sea-Haven-Industries/meal-order-manager:environment:dev" in text
assert "repo:Sea-Haven-Industries/meal-order-manager:environment:prod" in text
assert (
"Sea-Haven-Industries/.github/.github/workflows/cd-hcp-fargate.yaml@*" in text
"Sea-Haven-Industries/.github/.github/workflows/cd-hcp-fargate.yaml@*"
in text
)
assert "token.actions.githubusercontent.com:workflow_ref" in text
assert (
@ -23,3 +24,13 @@ def test_github_deploy_trust_uses_org_reusable_and_caller():
in text
)
assert "cd-hcp-spa.yaml" not in text
assert "token.actions.githubusercontent.com:workflow_ref" in text
assert (
"Sea-Haven-Industries/meal-order-manager/.github/workflows/deploy-api.yaml@refs/heads/main"
in text
)
assert (
"Sea-Haven-Industries/meal-order-manager/.github/workflows/deploy-api.yaml@refs/tags/v*"
in text
)
assert "cd-hcp-spa.yaml" not in text