mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-10-06 14:41:58 +00:00
test(ci): probe autofix with a ruff format violation
This commit is contained in:
parent
ece6666832
commit
9ce42207aa
1 changed files with 12 additions and 1 deletions
|
|
@ -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:dev" in text
|
||||||
assert "repo:Sea-Haven-Industries/meal-order-manager:environment:prod" in text
|
assert "repo:Sea-Haven-Industries/meal-order-manager:environment:prod" in text
|
||||||
assert (
|
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 "token.actions.githubusercontent.com:workflow_ref" in text
|
||||||
assert (
|
assert (
|
||||||
|
|
@ -23,3 +24,13 @@ def test_github_deploy_trust_uses_org_reusable_and_caller():
|
||||||
in text
|
in text
|
||||||
)
|
)
|
||||||
assert "cd-hcp-spa.yaml" not 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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue