Repository navigation
ci: Resolve most zizmor findings as of zizmor@1.32.0 - #3261
hashcatHitman wants to merge 11 commits into
Conversation
See: https://github.com/actions/checkout/releases/tag/v7.0.1 This is the same version we're already implicitly using. Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
See: https://github.com/actions/setup-node/releases/tag/v7.1.0 This is the same version we were already implicitly using. Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
See: https://github.com/crate-ci/typos/releases/tag/v1.50.3 This is the same version we're already using. Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
It exists, but not where `zizmor` expects. Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
| with: | ||
| persist-credentials: true # The `publish-guide.sh` script requires this for `git push` |
There was a problem hiding this comment.
I want to get rid of this eventually. I'm pretty sure we wouldn't need it if we migrated to using actions/deploy-pages, which I do think should be done, but I don't currently have the time to figure that out.
| with: | ||
| persist-credentials: true # The `update-dependencies.sh` script requires this for `git push` |
There was a problem hiding this comment.
I don't like this either, but as long as this repo needs that script, it is necessary. We (t-crabwatch/t-infra) should probably try to figure out what behavior is desired and if we can help configure Renovate to provide that behavior.
|
CI failure is from |
|
r? crabwatch |
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
In pursuit of getting more
zizmorlints enforced acrossrust-langrepos throughcrabwatch, this PR fixes mostzizmorfindings as ofzizmor@1.32.0, using theauditorpersona. The lints that actually fired per-persona level are:regularpersona findings:artipacked(seeauditor, though)excessive-permissions(See also: Solve theexcessive-permissionslint crabwatch#97)template-injectionunpinned-usespedanticpersona findings:regularexcessive-permissions(See also: Solve theexcessive-permissionslint crabwatch#97)template-injectionundocumented-permissionsanonymous-definition(Because coming up with names is hard and there is minimal benefit to this)concurrency-limits(Due to concerns about special cases. See also: Determine special cases forconcurrency-limitscrabwatch#107)auditorpersona findings:pedanticartipacked(auditoralso flags explicitly persisted credentials, which were required to keep these workflows functional. they might be removable in the future, but for now, this is just how it is.)