Skip to content

build: Add zizmor workflow and harden CI/CD a bit#162

Merged
squell merged 9 commits into
trifectatechfoundation:mainfrom
hashcatHitman:zizmor
Apr 14, 2026
Merged

build: Add zizmor workflow and harden CI/CD a bit#162
squell merged 9 commits into
trifectatechfoundation:mainfrom
hashcatHitman:zizmor

Conversation

@hashcatHitman
Copy link
Copy Markdown
Contributor

This PR adds a workflow using the zizmor GitHub action to scan workflows for possible weaknesses. It is based on the zizmor workflow skeleton provided in the documentation for zizmor.

It also addresses the issues found by zizmor by default. More findings are available using stricter configurations of zizmor (pedantic/auditor).

This PR does NOT update the version used for any workflows.

Based on the workflow skeleton found here:

https://docs.zizmor.sh/integrations/#via-zizmorcorezizmor-action

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
From https://github.com/actions/checkout/tree/v4.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
From https://github.com/actions/setup-node/tree/v4.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
From https://github.com/peaceiris/actions-mdbook/tree/v2.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
From https://github.com/actions/configure-pages/tree/v5.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
From https://github.com/actions/upload-pages-artifact/tree/v3.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
From https://github.com/actions/deploy-pages/tree/v4.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
No signs of ArtiPACKED here yet, but it doesn't hurt to harden things.
Plus, using a pre-v6 version of `actions/checkout` means we're missing
some of the modern protections against ArtiPACKED.

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
See https://docs.zizmor.sh/audits/#excessive-permissions

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
@squell
Copy link
Copy Markdown
Member

squell commented Apr 14, 2026

Thanks for providing this as well! Much appreciated.

@squell squell merged commit bf6bae9 into trifectatechfoundation:main Apr 14, 2026
1 check passed
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@hashcatHitman hashcatHitman deleted the zizmor branch April 14, 2026 15:36
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.

3 participants