Skip to content

ci: self-explanatory workflows and a separate workflow audit - #10

Merged
rqbazan merged 4 commits into
mainfrom
chore/self-explanatory-ci
Oct 13, 2026
Merged

rqbazan merged 4 commits into
mainfrom
chore/self-explanatory-ci

Conversation

@rqbazan

@rqbazan rqbazan commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

What changes

Workflow audit

  • The zizmor job moves out of ci.yml into .github/workflows/workflow-audit.yml: workflow Workflow audit, job audit-workflows named Audit workflows, step 🔒 Scan workflows. Triggers, permissions, pins, the pipx command and the GH_TOKEN env are unchanged.
  • New .github/zizmor.yml holds the reviewed exception: first-party withvariablelab/* is tracked at @main, everything else must be hash-pinned. It replaces the inline # zizmor: ignore[unpinned-uses] comments.

Version PR runs CI

  • changesets/action stays at v1.9.0 (@changesets/cli stays at v2). It now gets github-token: ${{ steps.app-token.outputs.token }} and commitMode: github-api, so the version commit and tags are created through the GitHub API with the vland-bot token. GitHub signs them and attributes them to vland-bot, so CI runs on the version PR. env.GITHUB_TOKEN stays set to the same token.
  • Configure git user stays: .changeset/config.json sets "commit": true, so changeset version commits locally first.
  • npm publishing still uses OIDC (id-token: write).

Names

Job and step names are short.

Required status checks: old -> new

Workflow Job id Old check context New check context
CI test test Test
Workflow audit (was CI) audit-workflows (was zizmor) zizmor Audit workflows
Release release release Release
Release preview preview Publish preview
Release preview-comment preview-comment / Comment preview release Comment preview / Comment preview release

The "Require PR and checks" ruleset requires test and zizmor. It must require Test and Audit workflows before this PR can merge.

Verification

  • actionlint: clean.
  • zizmor==1.30.1 --offline: no findings before or after. Running it with --no-config shows the 5 @main uses, which confirms that .github/zizmor.yml is picked up.

Can't be tested on this PR

The release job only runs on push to main, so commitMode: github-api runs for real for the first time after merge, when it updates #9.

🤖 Generated with Claude Code

https://claude.ai/code/session_01MrWogBto4w6eFAaVEkczQf

…ction v2

- Move the zizmor job out of ci.yml into workflow-audit.yml (workflow
  "Workflow audit", job "Audit workflows"). The first-party @main
  exceptions move from inline ignores to .github/zizmor.yml.
- Give every workflow a header comment and every job and step a name
  that says what it does.
- Upgrade changesets/action to v2.1.2. The version commit, tags and
  releases are now created through the GitHub API with the vland-bot
  token, so GitHub signs the commit and CI runs on the version PR.
- changesets/action v2 refuses to run with @changesets/cli v2, so bump
  @changesets/cli to ^3.0.3 and @changesets/changelog-github to ^1.0.1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrWogBto4w6eFAaVEkczQf
@changeset-bot

changeset-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8ae61e3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

- Shorten header comments, job names and step names.
- Keep changesets/action v1.9.0 and @changesets/cli v2. Pass the vland-bot
  token as github-token and set commitMode: github-api, so GitHub signs the
  version commit and tags and attributes them to vland-bot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrWogBto4w6eFAaVEkczQf
@rqbazan rqbazan changed the title ci: self-explanatory workflows, separate workflow audit, changesets/action v2 ci: self-explanatory workflows and a separate workflow audit Oct 13, 2026
rqbazan and others added 2 commits October 12, 2026 20:13
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrWogBto4w6eFAaVEkczQf
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MrWogBto4w6eFAaVEkczQf
@rqbazan
rqbazan merged commit 6474d72 into main Oct 13, 2026
5 checks passed
@rqbazan
rqbazan deleted the chore/self-explanatory-ci branch October 13, 2026 01:15
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.

1 participant