Add zizmor workflow - #1440
Merged
Merged
Add zizmor workflow#1440
Conversation
gutzbenj
force-pushed
the
gutzbenj/zizmor
branch
from
March 3, 2025 16:42
d1f0a65 to
2fcf54d
Compare
There was a problem hiding this comment.
PR Overview
This PR introduces a new GitHub workflow for the zizmor tool and updates several existing workflows to standardize configuration options such as permissions and credential persistence.
- Added .github/workflows/zizmor.yml to define a new workflow for zizmor.
- Updated various workflows (coverage, release, tests, lint, unused, docker-publish, codeql, docker-cleanup, dependency-review) to include a "permissions: {}" stanza and ensure “persist-credentials: false” is configured where applicable.
- Updated pyproject.toml to add the zizmor dependency and register a corresponding task.
Reviewed Changes
| File | Description |
|---|---|
| .github/workflows/zizmor.yml | New workflow to run zizmor tasks. |
| .github/workflows/coverage.yml | Added permissions override and updated checkout credentials action. |
| .github/workflows/release.yml | Standardized permissions and disabled cache for setup-uv. |
| .github/workflows/tests.yml | Updated checkout step with persist-credentials setting. |
| .github/workflows/lint.yml | Added permissions override and adjusted checkout settings. |
| .github/workflows/unused.yml | Added permissions override and updated checkout settings. |
| .github/workflows/docker-publish.yml | Added permissions, disabled cache for setup-uv, and updated checkout. |
| .github/workflows/codeql.yml | Added permissions override and revised checkout settings. |
| .github/workflows/docker-cleanup.yml | Added permissions override in the scheduled cleanup workflow. |
| pyproject.toml | Added zizmor dependency and corresponding task for execution. |
| .github/workflows/dependency-review.yml | Updated checkout step with persist-credentials setting. |
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
gutzbenj
force-pushed
the
gutzbenj/zizmor
branch
4 times, most recently
from
March 3, 2025 18:06
da0d49f to
4d9a6e9
Compare
gutzbenj
force-pushed
the
gutzbenj/zizmor
branch
from
March 3, 2025 18:07
4d9a6e9 to
2955e87
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1440 +/- ##
==========================================
+ Coverage 82.83% 82.86% +0.03%
==========================================
Files 88 88
Lines 6293 6293
Branches 737 737
==========================================
+ Hits 5213 5215 +2
+ Misses 871 870 -1
+ Partials 209 208 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
No description provided.