Skip to content

ci: skip scheduled live contract when secrets are absent#19

Merged
rogu3bear merged 1 commit into
mainfrom
ci/cfctl-scheduled-live-skip
Jun 4, 2026
Merged

ci: skip scheduled live contract when secrets are absent#19
rogu3bear merged 1 commit into
mainfrom
ci/cfctl-scheduled-live-skip

Conversation

@rogu3bear

Copy link
Copy Markdown
Owner

Summary

  • changes scheduled cfctl live-contract runs to emit a notice and skip live-only steps when required live secrets are absent
  • keeps manual workflow_dispatch fail-closed when live credentials are missing
  • updates the static contract assertions to cover both the manual failure and scheduled skip behavior

This prevents weekly scheduled runs from looking like code/security failures when the cfctl-live environment has not been configured.

Verification

  • ./scripts/verify_static_contract.sh
  • python3 scripts/verify_permission_catalog.py --cfctl ./cfctl
  • yq -o=json '.jobs."live-contract".steps' .github/workflows/cfctl-contract.yml
  • git diff --check

@rogu3bear rogu3bear merged commit 2c74f74 into main Jun 4, 2026
2 checks passed
@rogu3bear rogu3bear deleted the ci/cfctl-scheduled-live-skip branch June 4, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant