Skip to content

Address zizmor findings: - #149

Open
cpovirk wants to merge 1 commit into
mainfrom
ziz
Open

Address zizmor findings:#149
cpovirk wants to merge 1 commit into
mainfrom
ziz

Conversation

@cpovirk

@cpovirk cpovirk commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

I've focused only on our custom CI configuration, not on the CI configuration from upstream: I'm not even sure whether we run the upstream configuration, and even if we do, I'd prefer not to introduce changes (fairly invasive ones in some cases!) that might lead to merge conflicts. Ideally we'd do better someday, including trying to make changes upstream.

- [`persist-credentials: false`](https://docs.zizmor.sh/audits/#artipacked)
- [pinning `uses`](https://docs.zizmor.sh/audits/#unpinned-uses)

I've focused only on our custom CI configuration, not on the CI configuration from upstream: I'm not even sure whether we run the upstream configuration, and even if we do, I'd prefer not to introduce changes (fairly invasive ones in some cases!) that might lead to merge conflicts. Ideally we'd do better someday, including trying to make changes upstream.
@cpovirk

cpovirk commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator Author

I'm not even sure whether we run the upstream configuration

It looks like we "Prepare" but do nothing else:
image

Now presumably it would be nice to pin actions for that step and perhaps make other changes. Or we could delete that configuration entirely (at the cost of having to tell Git to ignore changes to those deleted files when we see merge conflicts).

JAVA_VERSION: 24
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think zizmor can add a comment for what version the SHA corresponds to?

Also, do we want to switch to a more recent version of this action while we're at it?

persist-credentials: false
- name: Set up JDK 24
uses: actions/setup-java@v4
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as above

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.

2 participants