build: Add zizmor workflow and harden CI/CD a bit#162
Open
hashcatHitman wants to merge 9 commits intotrifectatechfoundation:mainfrom
Open
build: Add zizmor workflow and harden CI/CD a bit#162hashcatHitman wants to merge 9 commits intotrifectatechfoundation:mainfrom
zizmor workflow and harden CI/CD a bit#162hashcatHitman wants to merge 9 commits intotrifectatechfoundation:mainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a workflow using the
zizmorGitHub action to scan workflows for possible weaknesses. It is based on thezizmorworkflow skeleton provided in the documentation forzizmor.It also addresses the issues found by
zizmorby default. More findings are available using stricter configurations ofzizmor(pedantic/auditor).This PR does NOT update the version used for any workflows.