Skip to content

Conversation

@bashonly
Copy link
Member

@bashonly bashonly commented Dec 15, 2025

This pull request adds a zizmor audit of GHA workflows via zizmor-action.

Many of the changes in this PR are to comply with zizmor's audit rules, including:


In addition, there are some changes unrelated to the zizmor audit rules:

  • Explicitly set shell: bash for several steps, either to avoid pwsh on Windows runners or to ensure that pipefail is set (since it is not set without an explicit shell: bash)

  • Set $ErrorActionPreference to "Stop" and $PSNativeCommandUseErrorActionPreference to $true in all pwsh code contexts to ensure the steps will fail on non-zero exit codes

  • Rename the ruff-lint and ruff-format jobs to ruff_lint and ruff_format for consistency

@bashonly bashonly changed the title Explicitly declare CI permissions and limit credentials Explicitly declare CI/CD permissions and limit credentials Dec 15, 2025
Copy link
Member

@Grub4K Grub4K left a comment

Choose a reason for hiding this comment

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

idc

@bashonly bashonly changed the title Explicitly declare CI/CD permissions and limit credentials Harden CI/CD pipeline Dec 24, 2025
@bashonly bashonly requested a review from Grub4K December 25, 2025 22:27
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