-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
cicdCI/CD pipelines and automation infrastructureCI/CD pipelines and automation infrastructureenhancementNew feature or requestNew feature or request
Description
Context
W6 (Release Atomic Chart) currently uses workflow_dispatch which can be triggered externally via the GitHub API by anyone with write access to the repository.
We're implementing repository_dispatch + GitHub App token as the primary approach, but there are additional security enhancements to consider.
Enhancement Ideas
Input Validation
- Add regex validation for tag format in the dispatch handler
- Validate that the tag exists before processing
- Validate that the tag points to a commit on main
Branch/Tag Protection Rules
- Configure tag protection rules to limit who can create release tags
- Pattern:
*-v*(matchescloudflared-v0.1.0, etc.) - Require specific actors (GitHub App, admins) for tag creation
Audit Logging
- Log all dispatch events with actor information
- Track manual vs automated releases
Related
- W6 workflow:
.github/workflows/release-atomic-chart.yaml - W6-Tag workflow:
.github/workflows/tag-atomic-chart.yaml
Labels
enhancementcicd
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cicdCI/CD pipelines and automation infrastructureCI/CD pipelines and automation infrastructureenhancementNew feature or requestNew feature or request