.github/workflows/: reusable workflows (workflow_call) consumed by other repositories pinned to a commit SHA. Several also run onpushandpull_requesthere, so this repository lints itself with them..github/actions/<name>/: actions called by those workflows. Most are Node actions (using: node24,main: dist/index.js) built from TypeScript.setup-actionlint,attest-release-assetsandpublish-release-assetsare plain composite actions with no source insrc/.src/actions/<name>/: Node action source.workflow.tsexports the inputSchemaandrun, so tests can import them.main.tsdecodes inputs withActionInputs.decodeInputs, callsrunand hands the program toActionRuntime.runAction.src/action/: shared action runtime (inputs, outputs, annotations, GitHub commands).src/services/: shared services such asCommandExecutor.tests/<name>.test.ts: one file per action, using helpers fromtests/support.tsand fixtures intests/fixtures/.
- A workflow's inputs, secrets, outputs and job names are a public contract.
Renaming or removing one breaks callers, and a job name change also changes
their required check context (
<caller job id> / <job name>). Call that out and updateREADME.mdwhen a contract or documented behaviour changes. - Reference actions in this repository with
uses: $/.github/actions/<name>so they resolve from the same commit as the workflow..github/actionlint.yamlignores the error actionlint 1.7.12 still raises for this syntax. - Pin third-party actions to a full commit SHA with a
# vX.Y.Zcomment. Renovate (timmo001/renovate-config) updates them, and updates tool versions marked with a# renovate:comment. - Every job sets
timeout-minutes.
To add one:
- Create
src/actions/<name>/workflow.tsandmain.tsfollowing an existing action, failing withAnnotations.ActionFailure. - Add the action to the
actionslist inscripts/bundle.ts. - Add
.github/actions/<name>/action.ymlpointing atdist/index.js. - Run
mise run bundleand commit the generateddist/index.js.
The bundles are committed. After changing src/, package.json, bun.lock or
tsconfig.json, run mise run bundle, or bundle:check fails.
sync-action-bundles.yml also rebuilds them on pull requests. Upkeep runs
mise run bundle itself when it pushes a dependency update to master.
mise.toml pins Bun and Node and is the only place tasks are combined.
package.json scripts each run one command; don't add aggregates there.
validateis the full suite CI runs invalidate-actions.yml.- The tests need
bsdtar(libarchive-tools) and Python'spackagingmodule on the system, as CI installs them with apt. - To add a check, add its
package.jsonscript, a mise task that runs it, and that task tovalidate.
Not called outside this repository:
validate-actions.yml: runsmise run -c validateand smoke-tests a bundled action through$/syntax.sync-action-bundles.yml: rebuilds the action bundles and commits them to the pull request.renovate-automerge-any.yml: enables automerge on Renovate pull requests oncevalidate-actions.ymlpasses.publish-hk-base.yml: packageshk/withmise run hk:packageand attacheshk-base@<tag>.0to each release. Keephk/base.pklin step withlint-general.yml, check-only, with no pre-commit hook.
Other workflows are public. Code search
timmo001/workflows/.github/workflows/<name> for callers before changing or
removing one, and delete what nothing calls.
.agents/skills/ and skills-lock.json are synced from timmo001/skills and
other skill sources. Don't edit them here; change the source repository. The
exception is workflows-* skills, which this repository owns.