Repository navigation
CI: zizmor, CodeQL, pinned build tools, locked builds - #59
Merged
Merged
Conversation
- A zizmor job audits the workflows (medium severity and up fails), and ci-required waits for it. - CodeQL analyzes the Rust code and the workflows on pushes, pull requests and weekly. - Checkouts keep no token in .git/config (persist-credentials: false); no job pushes with it. - Pages permissions move from the workflow to the deploy job. - zig 0.17.0 and cargo-zigbuild 0.24.0 are pinned, and xtask builds pass --locked, so a release build uses the tools and the lock file it was tested with. - cargo-deny also checks bans. - A weekly job opens an issue when upstream ipstack has commits the vendored copy is not based on, since Dependabot skips it.
allwinpower
enabled auto-merge (squash)
October 28, 2026 01:41
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
- Format the --locked arguments in xtask. - The install-action pins name their release (v2.87.31), not v2, which now points elsewhere. - Dependabot waits 7 days before updating to a new release; security updates do not wait.
Merged
allwinpower
added a commit
that referenced
this pull request
Oct 28, 2026
First release candidate for 0.3.1. - Version 0.3.1-rc.1. - The `[Unreleased]` changelog section becomes `[0.3.1] - 2026-10-28`, and its compare links are updated. **Why 0.3.1:** fixes and hardening only (#58, #59 and GHSA-2c7x-2cp2-g77m); no change in behaviour, so a patch release. **Deploy step:** after merge, tag `v0.3.1-rc.1` on the merge commit. The Release workflow then publishes a prerelease. Homebrew does not get prereleases. This is also the first release built with the pinned zig 0.17.0, cargo-zigbuild 0.24.0 and `--locked` (#59).
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.
Checks that catch problems in the workflows and the build, from a security review of the repository.
New checks
zizmorjob inci.yml: audits the workflows for template injection, broad permissions, persisted credentials and unpinned or known-bad actions. Findings of medium severity and up fail it;ci-requiredwaits for it. Two low findings remain (./paths for the reusable build workflow) and are only reported.codeql.yml: CodeQL for Rust (build mode none) and for the workflows, on pushes to main, pull requests and weekly. Results go to code scanning.ipstack-upstream.yml: weekly, comparesthird_party/ipstackwith upstream from the commit named inPATCHES.mdand opens an issue when upstream has newer commits. Dependabot skips the vendored copy. Upstream is 13 commits ahead today, so the first run opens one.bans(duplicate versions only warn).cooldown), so a compromised release has time to be caught. Security updates do not wait.Hardening
actions/checkoutusespersist-credentials: false. The two jobs that push (Homebrew tap, AUR) clone their target with their own credentials.pages.yml:pages: writeandid-token: writemove from the workflow to the deploy job.cargo xtaskand the builds it runs pass--locked, as doescargo testand the musl client build in CI.build-release.ymlfixed.Checked locally
actionlintclean;zizmor --min-severity mediumclean, with online audits (before: 2 high, 19 medium offline).cargo deny check advisories bans licenses sources: ok.cargo xtask serverswith the locked alias builds all four servers.