Skip to content

More pre-commit plumbing - #2228

Merged
woodruffw merged 6 commits into
mainfrom
ww/pc-unpinned-uses
Jul 24, 2026
Merged

More pre-commit plumbing#2228
woodruffw merged 6 commits into
mainfrom
ww/pc-unpinned-uses

Conversation

@woodruffw

Copy link
Copy Markdown
Member

More towards #1799. This plumbs pre-commit config auditing directly into the Audit trait and adds some of our conventional convenience types/traits to make future audits ergonomic to write.

@woodruffw woodruffw self-assigned this Jul 24, 2026
@woodruffw
woodruffw merged commit 181ad69 into main Jul 24, 2026
14 checks passed
@woodruffw
woodruffw deleted the ww/pc-unpinned-uses branch July 24, 2026 19:39
jylenhof pushed a commit to jylenhof/gh-action-pulse that referenced this pull request Aug 4, 2026
Automated mise tool upgrades from local config.

Updated tools:
- `zizmor`

Command: `mise upgrade --bump --local zizmor`

<details>
<summary>Version changelog (zizmor)</summary>

| Tool | Requested | Installed |
|------|-----------|-----------|
| `zizmor` | `1.28.0` → `1.29.0` | `1.28.0` → `1.29.0` |

</details>

<details>
<summary>Release notes (1 tools)</summary>

<details>
<summary>zizmor: `1.28.0` → `1.29.0` (zizmorcore/zizmor)</summary>

### v1.29.0

## New Features 🌈[🔗](https://docs.zizmor.sh/release-notes/#new-features)

- zizmor now has **experimental** support for auditing pre-commit inputs, meaning both pre-commit configuration and hook definitions ([#2209](zizmorcore/zizmor#2209))

- New audit: [insecure-url-scheme](https://docs.zizmor.sh/audits/#insecure-url-scheme) detects usages of insecure (i.e. plaintext) protocols when making network requests. The initial version of this audit is limited to pre-commit inputs only ([#2228](zizmorcore/zizmor#2228))

- zizmor now supports GitHub's "self-repository" reference syntax for local actions, e.g. `uses: $/foo/bar` instead of a manual checkout and `uses: ./foo/bar` ([#2248](zizmorcore/zizmor#2248))

## Changes ⚠️[🔗](https://docs.zizmor.sh/release-notes/#changes)

- The [unpinned-uses](https://docs.zizmor.sh/audits/#unpinned-uses) and [unpinned-images](https://docs.zizmor.sh/audits/#unpinned-images) audits have been separated more cleanly: [unpinned-uses](https://docs.zizmor.sh/audits/#unpinned-uses) is now principally responsible for Git-style `uses:` clauses, whereas [unpinned-images](https://docs.zizmor.sh/audits/#unpinned-images) is now responsible for `docker://`-style `uses:` clauses (in addition to already checking other image references) ([#2222](zizmorcore/zizmor#2222))

## Removals 🌅[🔗](https://docs.zizmor.sh/release-notes/#removals)

- `--collect=workflows-only` and `--collect=actions-only` have been fully removed. Use `--collect=workflows` and `--collect=actions` for the replacement behavior ([#2242](zizmorcore/zizmor#2242))

## Bug Fixes 🐛[🔗](https://docs.zizmor.sh/release-notes/#bug-fixes)

- Fixed a bug where zizmor would reject a valid workflow definition for containing a literal jobs.<job>.outputs.<name> value for being a non-string ([#2220](https://github.com/zizmorcore/zizmor/iss… (truncated)

</details>

</details>

Modified files:
- `.mise.toml`
jylenhof pushed a commit to jylenhof/gh-action-pulse that referenced this pull request Aug 4, 2026
Automated mise tool upgrades from local config.

Updated tools:
- `zizmor`

Command: `mise upgrade --bump --local zizmor`

<details>
<summary>Version changelog (zizmor)</summary>

| Tool | Requested | Installed |
|------|-----------|-----------|
| `zizmor` | `1.28.0` → `1.29.0` | `1.28.0` → `1.29.0` |

</details>

<details>
<summary>Release notes (1 tools)</summary>

<details>
<summary>zizmor: `1.28.0` → `1.29.0` (zizmorcore/zizmor)</summary>

### v1.29.0

## New Features 🌈[🔗](https://docs.zizmor.sh/release-notes/#new-features)

- zizmor now has **experimental** support for auditing pre-commit inputs, meaning both pre-commit configuration and hook definitions ([#2209](zizmorcore/zizmor#2209))

- New audit: [insecure-url-scheme](https://docs.zizmor.sh/audits/#insecure-url-scheme) detects usages of insecure (i.e. plaintext) protocols when making network requests. The initial version of this audit is limited to pre-commit inputs only ([#2228](zizmorcore/zizmor#2228))

- zizmor now supports GitHub's "self-repository" reference syntax for local actions, e.g. `uses: $/foo/bar` instead of a manual checkout and `uses: ./foo/bar` ([#2248](zizmorcore/zizmor#2248))

## Changes ⚠️[🔗](https://docs.zizmor.sh/release-notes/#changes)

- The [unpinned-uses](https://docs.zizmor.sh/audits/#unpinned-uses) and [unpinned-images](https://docs.zizmor.sh/audits/#unpinned-images) audits have been separated more cleanly: [unpinned-uses](https://docs.zizmor.sh/audits/#unpinned-uses) is now principally responsible for Git-style `uses:` clauses, whereas [unpinned-images](https://docs.zizmor.sh/audits/#unpinned-images) is now responsible for `docker://`-style `uses:` clauses (in addition to already checking other image references) ([#2222](zizmorcore/zizmor#2222))

## Removals 🌅[🔗](https://docs.zizmor.sh/release-notes/#removals)

- `--collect=workflows-only` and `--collect=actions-only` have been fully removed. Use `--collect=workflows` and `--collect=actions` for the replacement behavior ([#2242](zizmorcore/zizmor#2242))

## Bug Fixes 🐛[🔗](https://docs.zizmor.sh/release-notes/#bug-fixes)

- Fixed a bug where zizmor would reject a valid workflow definition for containing a literal jobs.<job>.outputs.<name> value for being a non-string ([#2220](https://github.com/zizmorcore/zizmor/iss… (truncated)

</details>

</details>

Modified files:
- `.mise.toml`
jylenhof pushed a commit to jylenhof/gh-action-pulse that referenced this pull request Aug 4, 2026
Automated mise tool upgrades from local config.

Updated tools:
- `zizmor`

Command: `mise upgrade --bump --local zizmor`

<details>
<summary>Version changelog (zizmor)</summary>

| Tool | Requested | Installed |
|------|-----------|-----------|
| `zizmor` | `1.28.0` → `1.29.0` | `1.28.0` → `1.29.0` |

</details>

<details>
<summary>Release notes (1 tools)</summary>

<details>
<summary>zizmor: `1.28.0` → `1.29.0` (zizmorcore/zizmor)</summary>

### v1.29.0

## New Features 🌈[🔗](https://docs.zizmor.sh/release-notes/#new-features)

- zizmor now has **experimental** support for auditing pre-commit inputs, meaning both pre-commit configuration and hook definitions ([#2209](zizmorcore/zizmor#2209))

- New audit: [insecure-url-scheme](https://docs.zizmor.sh/audits/#insecure-url-scheme) detects usages of insecure (i.e. plaintext) protocols when making network requests. The initial version of this audit is limited to pre-commit inputs only ([#2228](zizmorcore/zizmor#2228))

- zizmor now supports GitHub's "self-repository" reference syntax for local actions, e.g. `uses: $/foo/bar` instead of a manual checkout and `uses: ./foo/bar` ([#2248](zizmorcore/zizmor#2248))

## Changes ⚠️[🔗](https://docs.zizmor.sh/release-notes/#changes)

- The [unpinned-uses](https://docs.zizmor.sh/audits/#unpinned-uses) and [unpinned-images](https://docs.zizmor.sh/audits/#unpinned-images) audits have been separated more cleanly: [unpinned-uses](https://docs.zizmor.sh/audits/#unpinned-uses) is now principally responsible for Git-style `uses:` clauses, whereas [unpinned-images](https://docs.zizmor.sh/audits/#unpinned-images) is now responsible for `docker://`-style `uses:` clauses (in addition to already checking other image references) ([#2222](zizmorcore/zizmor#2222))

## Removals 🌅[🔗](https://docs.zizmor.sh/release-notes/#removals)

- `--collect=workflows-only` and `--collect=actions-only` have been fully removed. Use `--collect=workflows` and `--collect=actions` for the replacement behavior ([#2242](zizmorcore/zizmor#2242))

## Bug Fixes 🐛[🔗](https://docs.zizmor.sh/release-notes/#bug-fixes)

- Fixed a bug where zizmor would reject a valid workflow definition for containing a literal jobs.<job>.outputs.<name> value for being a non-string ([#2220](https://github.com/zizmorcore/zizmor/iss… (truncated)

</details>

</details>

Modified files:
- `.mise.toml`

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant