Skip to content

ci: enable zizmor and replace privileged workflow triggers - #204

Merged
fengmk2 merged 6 commits into
mainfrom
ci/enable-zizmor
Oct 16, 2026
Merged

fengmk2 merged 6 commits into
mainfrom
ci/enable-zizmor

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Add zizmor to CI to detect workflow security issues. Restrict token permissions, pass shell inputs through environment variables, and load the action with $/..

Remove workflow_run triggers and both dangerous-triggers exceptions. Use the run-e2e label to request the full GitLab suite for same-repository PRs. Check the labeler's write access and the exact PR head before starting the pipeline. Fork PRs use manual workflow_dispatch on main with a reviewed commit SHA.

Keep PR bundle builds read-only. Maintainers dispatch bundle publishing on main with a successful build run ID. The publisher validates the build, current PR head, and artifacts before it creates a token with repository write access.

Remove PR comment writes and use CI logs, annotations, and job summaries for results. Update the contributor and release procedures for these requests.

@fengmk2 fengmk2 changed the title ci: enable zizmor workflow audits ci: enable zizmor and replace privileged workflow triggers Oct 16, 2026
@fengmk2
fengmk2 merged commit d5055d9 into main Oct 16, 2026
84 checks passed
@fengmk2
fengmk2 deleted the ci/enable-zizmor branch October 16, 2026 18:03
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