Automation¶
How this repository looks after itself: its 44 workflows of GitHub Actions, in .github/workflows/, check every change, make a release of what reaches main, answer issues and pull requests, look for vulnerabilities and keep the repository current. The website writes this page from the workflows at every build, with the comment at the top of each, so it is always as current as they are.
What a pull request needs¶
A pull request merges into main once each of these checks passes, as the settings in .github/repository.toml require:
check (python)of CI (python)variantsof Variantsfuzzof Fuzzinglintof Lintdiagramsof Lintdocsof Docsconventional titleof Pull request titlecodeqlof CodeQLdependency-reviewof Quick checksgitleaksof Quick checks
At a glance¶
The times are UTC. GitHub starts a scheduled run when it can: at present usually hours late, and at busy times not at all.
| Workflow | When |
|---|---|
| CI (python) | every push to main, every pull request, every Wednesday at 04:30 UTC, by hand |
| Diagrams | every push to main that changes certain files, every Tuesday at 04:45 UTC, by hand |
| Docs | every push to main, every pull request, every Saturday at 06:23 UTC, by hand |
| Downstream | every pull request that changes certain files, every push to main that changes certain files, every Wednesday at 05:40 UTC, by hand |
| Links | every push to main that changes certain files, every pull request that changes certain files, every Monday at 05:50 UTC, by hand |
| Lint | every pull request, every Wednesday at 04:30 UTC, by hand |
| Mutation | every Saturday at 01:15 UTC, by hand, every pull request |
| Newest Python | every push to main, every Tuesday at 03:25 UTC, by hand |
| Next runner | every Thursday at 05:15 UTC, by hand |
| Pull request title | every pull request |
| Quick checks | every pull request, every Friday at 04:55 UTC, by hand |
| Variants | every pull request, every Wednesday at 05:10 UTC, by hand, when another workflow calls it |
| Windows | every pull request that changes certain files, every push to main that changes certain files, every Thursday at 03:20 UTC, by hand |
| Build the release | when another workflow calls it |
| Chrome Web Store | after a run of Release, every day at 00:17 UTC, by hand |
| Release | every push to main, every day at 02:25 UTC, by hand |
| Rollout | after a run of Release, by hand |
| SBOM | every Wednesday at 04:47 UTC, by hand |
| Release verification | when another workflow calls it, every Wednesday at 05:17 UTC, a release, by hand |
| After the checks | after 16 workflows |
| Area labels | every pull request |
| Build the image | when another workflow calls it |
| Commands | comments |
| Dependabot maintenance | every pull request |
| Docs pictures | after a run of Release, by hand |
| Issue assistant | new and changed issues, comments, by hand |
| Issue lifecycle | every day at 06:41 UTC, every pull request, a release, by hand |
| Renovate | every 2 hours at :17, every push to main that changes certain files, every pull request that changes certain files, by hand |
| Screenshots | every push to main, every Friday at 04:29 UTC, by hand |
| Issue assistant sync | every hour at :20, by hand, every pull request that changes certain files |
| Update branches | every push to main, every pull request, every 6 hours at :10, by hand |
| Welcome | every pull request |
| CodeQL | every push to main, every pull request, every Wednesday at 04:17 UTC, by hand |
| Findings | every day at 07:17 UTC, every push to main that changes certain files, after 4 workflows, by hand |
| Fuzzing | every pull request, every Sunday at 03:23 UTC, by hand |
| OSV-Scanner | every pull request that changes certain files, every push to main, every Monday at 05:33 UTC, by hand |
| OpenSSF Scorecard | every push to main, every Sunday at 03:47 UTC, by hand |
| Workflow security | every push to main, every pull request, every Tuesday at 05:35 UTC, by hand |
| Bot health | after 26 workflows, every day at 01:47 UTC, by hand |
| Clean-up | every Sunday at 05:40 UTC, by hand |
| Dashboard | every push to main that changes certain files, every 2 hours at :05, by hand |
| Labels | every push to main that changes certain files, by hand |
| Settings | every push to main that changes certain files, every Thursday at 06:05 UTC, by hand |
| Weekly report | every Monday at 05:07 UTC, by hand |
Checks¶
They check every change before it reaches main.
CI (python)
Python: the hash-pinned tools of requirements-dev.txt and the checks of scripts/check.sh, the same ones that run locally. The Python version comes from .python-version; the Newest Python workflow runs the checks with the newest one.
- When: every push to
main, every pull request, every Wednesday at 04:30 UTC, by hand - Required checks:
check (python) - Source:
.github/workflows/ci-python.yml
Diagrams
The diagram bot of main. The GitHub app, the stores and other renderers of Markdown show a ```mermaid block as code, so every diagram is a picture of its source in docs/diagrams/, and the check diagrams of each pull request keeps it that way. When main still has a ```mermaid block, a missing or stale picture, or a picture without its source, after the update of the blueprint that brought the pictures, a merge that went around the check or a change of the renderer, this workflow draws the diagrams with scripts/diagrams.sh --extract and keeps one pull request with the fix from the branch bot/diagrams, as the release app, which merges itself once every check passes. It runs after every change of main that touches a diagram or a page of Markdown, and every week; when main is fixed otherwise, it closes the pull request. Drawing runs without secrets; only the job of the pull request has the release app, and runs nothing that it drew; without the release app, the run warns and names the command that fixes main. A failed run opens an issue, which the next weekly run closes once the bot passes again.
- When: every push to
mainthat changes certain files, every Tuesday at 04:45 UTC, by hand - Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/diagrams.yml
Docs
The documentation website. MkDocs with the Material theme builds it from mkdocs.yml and the pages in docs/, strictly, so that a link or an anchor that leads nowhere fails: in every pull request as the check docs, and on main, where the same job hands the website that it built to GitHub Pages, and a second one publishes it. A repository without mkdocs.yml or a home page in docs/ has no website, and the check passes, so that it can be required everywhere. Where another workflow publishes GitHub Pages, as the Dashboard of the blueprint does with its dashboard, a run on main only builds the website; in a fork, where the Dashboard doesn't run, Docs publishes it. A pull request keeps the website that it built as the artifact website for a week, which the report of the PR coach links. The tools are the hash-pinned ones of stacks/docs/requirements-docs.txt, which the blueprint keeps current, and the files that Material downloads for the website stay in a cache for a week. After the build, lychee checks every link and anchor of the pages that were built and the links of llms.txt, the map of the website for AI assistants, blueprint.py site-check what the hooks of the website promise, and axe-core the pages in the light and the dark scheme, at the width of a desktop and of a phone, for what WCAG 2.2 A and AA ask, also that no page scrolls sideways on a phone, with the locked tools of .github/a11y/: on a pull request those that differ from main, by the digest that main keeps in the cache, and on main and every week every page. A serious or critical violation fails the check, unless .github/a11y-accepted.toml accepts it with its reason. The job that publishes the website signs its provenance, and the job website, which holds no token, asks the published website for its pages.
- When: every push to
main, every pull request, every Saturday at 06:23 UTC, by hand - Required checks:
docs - Environments:
github-pages - Source:
.github/workflows/docs.yml
Downstream
The update of every repository that takes the blueprint, before a release brings it there. downstream.py clones each repository of tests/answers/, read-only, and updates it as its blueprint bot does, without --trust: once to the commit of main that the pull request merges into and once to the pull request. The summary names, for each repository, the files whose update the pull request changes and those that the update leaves a conflict in. Every conflict that the pull request brings fails the check, in a page as in a workflow or a script, since the update pull request of that repository stops at it either way (decision 1169); one that main leaves already shows as (base) and fails nothing. The weekly run and the run of a push to main have no base, so every conflict that the update to main leaves fails them, in a page as well. Answers in tests/answers/ that differ from those of the repository warn. In the pull requests that change what the repositories get from the blueprint, and every week for the update to main, since the repositories change on their own. The weekly run fails on such answers as well, since a warning in a green run reaches nobody, and keeps those of each repository for the fix bot, which brings them to main in its pull request of the fixes of main. A push to main that changes tests/answers/, such as the merge of that pull request, runs it on main again: main turns green within minutes once the new answers hold, and fails again when they don't, since this is no required check and its run in the pull request proves nothing by the merge (decision 1061).
Then a job downstream (<name>) for each repository runs its own checks on its update: it clones the repository again without a token, updates it to the pull request, sets up the tools of its stack as the job check (<stack>) of the repository does, and runs its bash scripts/check.sh. Where they fail, it makes the fixes of the fix bot and runs them again, and where they still fail, it runs them on the tree to compare with: the update to main in a pull request, the repository without the update in the weekly run and the run of a push. Only a failure that the update brings fails the job, with the repository, the step and what failed; one that the other tree has as well warns (decision 1166). A pull request runs the job only for the repositories whose update or answers it changes, or for every one when it changes this workflow, downstream.py or the Copier; a run without a pull request runs every one. The job pushes nothing, keeps nothing in a cache and reads only public repositories: one that can't be cloned without credentials is left out with a notice.
No required check: a conflict can be the right change, with a line in the changelog that says how a repository resolves it, and a repository whose main is red on its own would block every pull request; the red run of its pull request tells the maintainer which repository will need that commit. The Variants workflow makes a repository with the answers of each one as well.
- When: every pull request that changes certain files, every push to
mainthat changes certain files, every Wednesday at 05:40 UTC, by hand - Source:
.github/workflows/downstream.yml
Links
The link bot. lychee checks the links of the documentation, and the anchors that they lead to, also in the README of another repository, on every change of a Markdown file or of a page of HTML in docs/, and every week, since sites move without a change here. A pull request checks the documents that it changes, so that a site that is down for a moment fails only the pull requests that link to it; one that changes the rules or lychee itself, such as an update of its version in .github/lychee.sh, or moves or deletes a file checks every document, as main and the weekly run do. It checks the links to the files, folders and headings of this repository on its base branch at its merge commit, so that a link to one that it adds passes, and one to what it deletes fails. The answers of the sites stay in a cache for a day. A broken link fails the check of a pull request; the weekly run keeps one issue with the broken links open until they are fixed, and closes it then. lychee.toml holds the rules, .lycheeignore the exceptions of this repository. The entry in the changelog that most pull requests bring, in CHANGELOG.md or in a fragment of changelog.d/, starts no check on its own; the weekly run checks the links of the changelog. The weekly run also compares the public entry on bestpractices.dev with .bestpractices.json and keeps one issue with the links that take in a changed answer (decision 1046).
- When: every push to
mainthat changes certain files, every pull request that changes certain files, every Monday at 05:50 UTC, by hand - Source:
.github/workflows/links.yml
Lint
The checks every repository of the blueprint shares: the workflows, the license of every file (REUSE), the Markdown of every document with hints at its spelling and style, the pictures of its diagrams, the sign-off of every commit (DCO), the set-up of the issue assistant and a notice for each changed file of the blueprint. In every pull request, not after a merge: main takes a pull request only when it is up to date, so a merge gives main the files that the pull request passed with. And each week on main, for what no commit changes, such as a new rule of a tool: it fails here and repairs itself through the fix bot, not in the next pull request.
- When: every pull request, every Wednesday at 04:30 UTC, by hand
- Required checks:
lint,diagrams - Source:
.github/workflows/lint.yml
Mutation
The mutation tests. Every week they change the code in thousands of small ways (mutants) and run the tests against each: a mutant that no test notices shows a line that the tests run but don't check. mutmut does it for Python, Infection for the PHP of a Nextcloud app. The plan splits the Python into parts of about the same number of mutants, each a job of its own, so that a large project finishes within the limits of GitHub. mutmut first runs the whole suite once with trampolines that record which tests reach each function, its stats, which takes ten times as long as the tests: one job collects them, every part loads them and runs only its mutants, and a test that fails without any mutant stops the run there, in one job. The report puts the parts together into one score, lists first the survivors that change the logic, with their changes, and keeps the details as an artifact; for Infection it reads the Covered Code MSI and the escaped mutants of its logs. A low score fails nothing, a run that measures nothing fails, with the tests that failed without any mutant; a score of the default branch that drops below the best of the runs before opens one issue, which closes once a run is back. A pull request that changes how the mutants run collects the stats and tries a sample of the mutants in one part, Infection the mutants of a few files, and shows a defect as a red check. Every pull request that changes what mutmut reads also generates the mutants of the Python that it changes, of all of it after a change of the pin, the configuration or this workflow, in the job mutation mutants: mutmut stops a run at the first file whose mutants aren't valid Python, so the weekly run would measure nothing, and the job names each such function in a minute, without the tools of the tests. Neither check is required: a pull request that merges itself, such as an update of mutmut, doesn't wait for them.
- When: every Saturday at 01:15 UTC, by hand, every pull request
- Source:
.github/workflows/mutation.yml
Newest Python
The checks of scripts/check.sh with the newest release of Python, which warns early of what the next Python of the runners breaks: after every change of main and every week. check-latest takes it from actions/python-versions as soon as it is out, not the older Python that the image of the runner keeps in its cache. Not in pull requests: a new Python breaks main and every pull request alike, and no pull request waits for this check. A workflow of its own, so that its warning leaves the CI of main green, whose coverage the report of the PR coach compares every pull request with. Since no pull request shows the warning, a failure keeps one issue open, which names the Python that failed and which the weekly run closes once the checks pass again.
- When: every push to
main, every Tuesday at 03:25 UTC, by hand - Source:
.github/workflows/newest-python.yml
Next runner
The jobs of the blueprint, and of every repository made from it, run on a runner named with its version, ubuntu-24.04: when GitHub moves ubuntu-latest to a new image, one job at a time over weeks, none of them moves with it by surprise. This workflow runs the Variants on the next runner every week: the checks of every kind of project, a new one and one updated from the latest release, with their real tools. Once they pass there, one pull request moves every job to it. Not in pull requests and not a required check: a new image breaks main and every pull request alike, and none waits for it. A failure keeps one issue open, which the next run closes once the variants pass again. This workflow belongs to the blueprint alone.
- When: every Thursday at 05:15 UTC, by hand
- Source:
.github/workflows/next-runner.yml
Pull request title
Pull requests are squashed into one commit named after their title, and the release bot builds the version and the changelog from these names. So the title must be a Conventional Commit; its type also sets the label of the pull request. A pull request that changes something for users, a feat, fix or perf, also says so in a fragment of the changelog, a new file in changelog.d/, or under Unreleased in CHANGELOG.md, which becomes the notes of the release.
The check signed commits is here because this event starts on every push, also from a fork whose other workflows wait for the approval of a maintainer, and costs only a question to the API: where the rules of the base branch require signed commits, it fails for each commit of the pull request without a signature that GitHub verified, as GitHub then blocks the merge. It stays out of the required checks: GitHub's own rule already blocks that merge, and a required check would change the settings of every repository for nothing (decision 0098).
The bot for replaced commits is a step of that job for the same reason: the run of a commit that a newer push replaced tells nobody anything, yet it holds a runner of the account, and this job runs on every push anyway, so the bot needs no runner of its own (decision 0108). It cancels only runs of the checks whose commit no open pull request has as its head; the branch bot does the same for the pull requests that merge.
- When: every pull request
- Required checks:
conventional title - Source:
.github/workflows/pull-request-title.yml
Quick checks
The quick checks of every pull request that need a workflow of their own outside Lint: the secret scan and the review of the dependencies, as two jobs of one workflow, so that a push starts one run, and one run of After the checks, for both (decision 0178). Not in Lint, whose runs for a pull request cancel each other.
gitleaks looks for secrets in the commits of every pull request, and every week in the whole history of every branch. Not after a merge, which brings only the commits of a pull request that it scanned; GitHub's secret scanning with push protection guards every push as well.
dependency-review reviews the dependencies that a pull request adds or changes: one with a known vulnerability of moderate severity or more, or with a license outside the list of .github/dependency-review.yml, fails it; the blueprint's own action and reusable workflows pass the license check by their names (decision 1201). An advisory that the repository accepts goes into allow-ghsas there, with its reason. A private repository without GitHub Code Security has no dependency review: there the settings bot sets the variable DEPENDENCY_REVIEW to off, and the check leaves the vulnerabilities of the lock files to OSV-Scanner. In a pull request of Renovate's weekly refresh of the lock files, which merges by itself only from versions at least a week old, it fails on a younger one as well (decision 0137).
Started by hand without inputs, as Bot health starts a schedule that GitHub missed, the workflow scans the whole history; with a base and a head commit, it also compares the dependencies of the two.
- When: every pull request, every Friday at 04:55 UTC, by hand
- Required checks:
gitleaks,dependency-review - Source:
.github/workflows/quick-checks.yml
Variants
Renders every kind of project from this commit and runs what a new repository of that kind runs from its first commit: scripts/check.sh with the tools of its stack, the build of its website, the lint of its workflows, and hassfest or Hadolint where they apply. Every week as well, since the tools and Home Assistant move on their own.
The same again for a repository of each kind that starts from the latest release and that the blueprint bot brings to this commit with copier update: the update must give every file of the blueprint as a new repository with the same answers has it (the update keeps the answers, also where a new default came), without a conflict and without --trust, and the files of the project, which it keeps, must still pass the checks of this commit.
And the same update with the answers of each repository that takes the blueprint, from tests/answers/ (adopted): without the sample code, with their licenses, their languages and their discussions. Such a repository brings its own code and tests, so these legs check what the blueprint gives it alone: the update, the website and the lint of the workflows and of the Markdown. The Downstream workflow updates the repositories themselves.
And the screenshot bot of a new repository of the kinds whose starter scripts/screenshots.sh starts a server in Docker, and of one with the website alone (pictures), in a pull request that changes what the pictures depend on, such as an update of an image or of Playwright by Renovate, and every week.
A pull request runs only the legs whose project it changes: the job variants plan renders the project of each leg from the pull request and from the main it merges into, with variants.py, and a project that stays the same to the byte has nothing new to show, since main passed with it. Every leg runs when the pull request changes what every leg runs with or when a project fails to render, and every week and in the Next runner workflow.
Not after a merge: main takes a pull request only when it is up to date, so a merge gives main the tree that the pull request ran here. Nor in the release pull request, which changes only the changelog and the version, files that no project gets. The check variants stands for every variant and every leg of the pictures in the rules of main: it passes when each one passed, or when none had to run.
The variants run on the runner of the blueprint's jobs, ubuntu-24.04. The Next runner workflow runs them on the next one every week, before the jobs move to it, and so can a run started here by hand.
- When: every pull request, every Wednesday at 05:10 UTC, by hand, when another workflow calls it
- Required checks:
variants - Source:
.github/workflows/variants.yml
Windows
The checks of scripts/check.sh on Windows, in Git Bash, as a contributor on Windows runs them before a push; the other workflows run on Linux only. Every week, and for a pull request or a push to main that changes the code, the tests, the template they render (whose paths must be valid on Windows too) or what they run with. Not a required check, so a pull request can merge before it ends: a red run on main is the one that the daily look of the bot-health bot opens an issue for, as this is the only full run on the oldest Python. This workflow belongs to the blueprint alone.
- When: every pull request that changes certain files, every push to
mainthat changes certain files, every Thursday at 03:20 UTC, by hand - Source:
.github/workflows/windows.yml
Releases¶
They make a signed release of what reaches main, deliver it and verify it as its users can.
Build the release
The build of a release, called by the release workflow only: it packages the release, writes the SBOMs of what it ships, the licenses of its third-party components and the advisories that don't affect it, attests the signed provenance of every asset and attaches all of it to the draft. As a reusable workflow of its own, it is isolated from the rest of the release workflow, and the provenance names it as the build, as SLSA Build Level 3 asks; verify-release.yml checks that. A project that ships something of its own, such as the zip of a browser extension, builds it with its scripts/release-assets.sh, in a job of this workflow that may write nothing, and the release attests and attaches it like every other asset.
- When: when another workflow calls it
- Secrets:
APP_PRIVATE_KEY - Source:
.github/workflows/build-release.yml
Chrome Web Store
Delivers each release of a Chrome extension to the Chrome Web Store, where Google reviews it and then publishes it, and looks after it every day until the users have it (decision 0085). The release bot publishes a release with the GITHUB_TOKEN, whose events start no workflow, so this one starts after every run of the Release workflow that a push or a start by hand began, every day from the schedule, and by hand with a tag. It runs where the repository variable PUBLISH_TO is chrome-web-store: in a repository of the kind chrome-extension, never in the blueprint or a fork.
The job "status" signs in, asks the store for the state of the item and lets scripts/store-status.mjs decide: a release that the store lacks goes to the store when no review is pending; while one is, the run waits with a note, and a later day delivers the release. A rejected submission, an item that Google warned or took down, a review of more than 7 days, a sign-in that Google turns away and a store version above the release fail the run with the reason and the fix in its summary, and the bot-health sweep of the night keeps an issue open about it. The job "package" takes the zip that the isolated build of the release attached, checks its signed provenance and its version and keeps it as an artifact of the run for 30 days, so the store gets exactly the package that the release attests. The job "store" uploads that zip with the Chrome Web Store API and submits it for review; it runs no code of the repository and no npm package.
Each job lets its runner reach only the hosts that it needs. The two jobs that talk to the store sign in to Google without a stored secret once the variables CWS_WORKLOAD_IDENTITY_PROVIDER and CWS_SERVICE_ACCOUNT are set: the OIDC token of GitHub for the job, which Google takes only from this workflow on main, becomes an access token of a service account for 20 minutes, and they alone may ask GitHub for one. Until then they sign in with the OAuth client and the refresh token of the developer account, the secrets of the environment chrome-web-store, which the daily sign-in keeps in use, as Google expires a refresh token after six months without one. The IDs of the item and of the publisher are the variables CWS_EXTENSION_ID and CWS_PUBLISHER_ID; docs/releases.md describes the one-time set-up of either way.
- When: after a run of Release, every day at 00:17 UTC, by hand
- Environments:
chrome-web-store - Secrets:
CWS_CLIENT_ID,CWS_CLIENT_SECRET,CWS_REFRESH_TOKEN - Source:
.github/workflows/publish-store.yml
Release
The release bot. release-please keeps a pull request for the next release, rebuilt on main with every merge that changes its notes, and once more when auto-merge is turned on for it or in the daily run, for the merges that change nothing that it releases, such as docs and chore (decision 0175). Its version follows from the Conventional Commit titles merged since the last release (fix: a patch, feat: a minor, ! or BREAKING CHANGE: a major version) and is decided anew with every merge. What the pull requests wrote in the fragments of changelog.d/ and under "## Unreleased" of CHANGELOG.md becomes the section of the release, and the fragments leave with it; without such text, the section lists the pull requests. Merging the pull request creates the release as a draft, on a tag that this workflow signs first, and the build checks the tag before anything else. The jobs below attach the package, its SBOMs (SPDX and CycloneDX), the licenses of its third-party components, the advisories that don't affect it (OpenVEX) and its signed provenance, write the notes, make the release public, announce it in the discussions, and then deliver it where the repository variable PUBLISH_TO says: pypi, npm, ghcr, hacs, nextcloud-appstore, github-action, chrome-web-store, which publish-store.yml takes over once this workflow has passed, cloudflare-workers, which Workers Builds deploys outside GitHub, installers, the installers of an Electron app that the release itself carries and from which an installed app updates, or none. Then verify-release.yml checks the release as its users can, and once the run passed, it starts the bots that follow a release, Issue lifecycle and Screenshots. A release that only updates dependencies merges itself once its checks pass, once a day, or at once with a fix of a vulnerability; where the variable RELEASE_MERGE is daily, as in the blueprint, every release does, at most one a day, and at once when the workflow is started by hand (decision 0180). Beside the release bot, the Dependabot alert bot closes each Dependabot alert that an osv-scanner.toml accepts, with its reason and its end, opens again each one that it closed once the acceptance is gone, and warns of each acceptance that ends within two weeks.
- When: every push to
main, every day at 02:25 UTC, by hand - Environments:
appstore,npm,pypi,release - Secrets:
APPSTORE_TOKEN,RELEASE_AUTOMATION_PRIVATE_KEY,SETTINGS_APP_PRIVATE_KEY - Source:
.github/workflows/release.yml
Rollout
The rollout of the blueprint. Once the Release workflow has published and verified a release, it starts the blueprint bot (Blueprint update) in every repository of the release app that has one, so that each repository gets the release within minutes instead of with the bot's weekly run. It goes from one repository to the next, the quickest checks first, and gives the bot and the checks of its update pull request up to 15 minutes before it starts the next one, so that the update pull requests don't all wait for the runners of the account at once. A repository that it can't start, or whose bot fails, fails the run by its name; the others get the release all the same. Started by hand, it rolls out the latest release. Its tokens of the release app can start workflows and read, nothing else, each in one repository. It runs in the blueprint only.
- When: after a run of Release, by hand
- Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/rollout.yml
SBOM
A software bill of materials of the whole repository in SPDX, every week, with the tools of its checks, its website and its workflows, as an artifact of the run. A release carries the SBOMs of what it ships instead (build-release.yml), which its users' scanners read. Not for every change: no pull request reads it, and the dependency review checks what a pull request brings in.
- When: every Wednesday at 04:47 UTC, by hand
- Source:
.github/workflows/sbom.yml
Release verification
The release verification bot. It checks a release the way its users can: every asset carries the signed provenance of this repository's release workflow, both in GitHub and in the attached bundle; the SBOMs are attached and describe what the release ships, by its name and version; the release is immutable and its commit signed; and where the repository variable PUBLISH_TO delivers it, the same release is there. The release workflow runs it after every release, it checks the latest release every week, and a release that anybody else publishes, by hand or with a token, at once. A failed check fails the run, which the bot-health bot reports in an issue.
- When: when another workflow calls it, every Wednesday at 05:17 UTC, a release, by hand
- Source:
.github/workflows/verify-release.yml
Bots¶
They answer issues and pull requests, fix what a command can fix and keep the pull requests moving.
After the checks
The bots that act on a finished run of the checks and of the release. One workflow for all, so that every run starts one run after it, not one for each bot that mostly has nothing to do. None checks out or runs the code of a pull request.
The flaky-test bot: when a run of the tests fails for the first time, or a job of it runs out of time, it runs the failed jobs once more. A job that passes then failed without a change of the code: its test is flaky, and the bot reports it in one issue, with the step, the test and the error that failed, so that it gets fixed instead of failing pull requests at random: a comment for each run, and in the body how often each job and test flaked, and when it last did. The test is one that pytest names in the log, or else the step or test that the log names last before the failure, after the answer test_marker of the blueprint, such as "Browser step:" before each step of the tests of a browser. Only a failure of the code counts (decision 1096): a job that failed outside it, in an action of another repository such as the upload of an artifact, a post step, the set-up of the job or a runner that hung after its work, as the runner's own lines of the log show, gets no row and opens no issue; the summary lists it under "Outside the code". So does a job that ran out of time after each of its steps had passed, whose runner never reported that the job ended, a check that GitHub kept failing, which says so, and a job that only sums up the jobs that it needs, as variants does: the one that failed has its own row. Such a job says so, or its definition in the file of the workflow at the commit of the run shows it, with needs, an if with always() or !cancelled(), and a job that it needs that failed or was cancelled (decision 1110). The PR coach's explanation of a check is no error of the job's own. A failure outside the code that comes back for the third time in 7 days, in a job of the same name and the same steps, gets its row after all, as a cause that stays is a person's to fix; and an issue of an older bot that holds only such failures closes. The look back over those 7 days stops, with a warning, once GitHub keeps failing, and after two minutes, and counts as far as it got, so that the report ends in its time. A job that fails again is a real failure and stays red, and so does one that failed the same way for the commit before, and one that failed in a step of scripts/check.sh that can't pass without a change, such as Psalm or Files of the project, which the PR coach names in the title of its annotation and whose explanation in .github/checks.toml or .github/checks.project.toml of the default branch says rerun = false: running it again would only keep a runner busy. The bot leaves the run alone only when every job that broke failed in such a step, and starts the branch bot then, as the failure stays (decision 0181). Only the run of the head of its pull request, or of its branch, runs again: just before the rerun, the bot asks GitHub for the head, as a run of a commit that a newer push replaced shares the concurrency group of the run for the head and would cancel it, as in Dennis-Otto/paperless-sync#486; the bot for stopped checks asks the same. The Downstream workflow of the blueprint updates the repositories that take it as they are at that moment, so one of its jobs that passes when it runs again found a repository that changed in between, such as one that merged what the pull request needs: the bot runs it once more, but counts no flaky test for it. A run whose failed jobs ran no step, which GitHub couldn't start, as in its outage of 9 November 2026, it leaves alone with a notice: another try while GitHub fails would only fail and mail again, and a bot that GitHub keeps failing ends with a notice as well (decision 0136). A pull request names its jobs and steps and writes its logs, so the issue shows them only as code, and the branch of a fork not at all.
The bot for stopped checks runs the failed jobs of a check once more that failed outside the code in two ways: Harden-Runner couldn't block, mostly in an outage of GitHub (decision 0134), or GitHub Pages or Sigstore kept Docs from publishing the website of a push to the default branch, when only the jobs that publish it and ask for it failed, or the job docs failed only to hand it to GitHub Pages, twice (decision 1110). The website is signed before it is published, so a failure of Sigstore publishes nothing; the bot-health bot starts Docs once more the next day when that try failed as well.
The start of the branch bot: a required check of a pull request that failed for good, also of one from a fork, moves the line of the branch bot in update-branches.yml on to the next pull request, so a job of its own starts that workflow then, with the run that failed. Before, the end of every check started a run of Update branches by itself, and nearly all of them skipped, each with a run of Bot health behind it (decision 0151).
The bot for cancelled checks: a newer run of a workflow cancels the one still running for the same pull request, and that of a check or a scanner for the push to main before. GitHub doesn't always create the runs in the order of the commits, so a late run for an older commit can cancel the run for the head of the pull request, whose required checks then stay cancelled and block the merge, or that for the head of main, whose coverage, alerts of code scanning and fixes the bots read. When a run for the head of an open pull request or of main was cancelled that way and no newer run of its workflow for the same commit exists, the bot starts it again. A run that a person cancelled, or one whose commit a newer push replaced, stays cancelled. The quick checks avoid the race: their runs for different commits never cancel each other. A job of the first attempt that ran out of time, as one behind Harden-Runner can even after its last step, runs once more, where the flaky-test bot doesn't do it.
A run of a commit that a newer push replaced, or whose pull request has closed, starts no job here that would only find that out, as the concurrency of a workflow and the bot for replaced commits cancel such runs by the hundred on a busy day. The event names the open pull requests of the branch of a run from this repository, so that their heads tell it before a runner starts; a run from a fork names none, and its jobs ask GitHub, as before.
The bot for failed releases: when the release that a merge started fails, such as at a push of its tag that GitHub refused for a moment, it runs the failed jobs once more, where they stopped, instead of leaving the release and its rollout to a person. The release workflow takes up a tag that it pushed already. A release that a person or another bot already runs again, or ran again, is theirs: the bot leaves it alone, and so it does a release that GitHub couldn't start, which the scheduled run of the release takes up.
The dismissal of the accepted alerts of a pull request: after each scan of CodeQL, Workflow security and OSV-Scanner of a pull request from a branch of this repository, a job calls the reusable workflow of Findings of the issue assistant, at the pin of findings.yml, which dismisses the alerts of the pull request that .github/findings.toml accepts, so that their review threads don't block the merge. Findings itself runs for main alone, with [findings] pull_requests = false in .github/issue-assistant/config.toml: before, each scan of a pull request started a run of it and one of Bot health behind it, about 7,200 runs a week in the repositories of the blueprint. A second job tries once more after any failure of the first, as nothing runs a job here again, and a third says so on the pull request, once for each commit, when the second fails as well (decision 1043). A fork's pull request keeps its threads for a person.
The PR coach: after every run of the checks of a pull request, one comment on it explains each check that failed: what it found, why that matters and how to fix it, with the commands to run, from the explanations of .github/checks.toml and .github/checks.project.toml. It works for a pull request from a fork as well, whose own runs can't write to it. The comment follows every push and turns into a short all-clear once every check passes. A check that was cancelled, as a job that ran out of time is, hasn't passed either, and commits that block the merge, because the rules of its base branch require a verified signature that they lack, allow no all-clear and no word about the merge, also before their check signed commits has ended: the coach asks GitHub for them itself. It reads the check runs and their annotations from the API and shows their text only as code, and waits up to three minutes for the checks of other apps, such as the alerts of code scanning, which end after the last workflow. The scanners, which run in the pull requests that change what they read, start it as well, and so does the check of the rules of Renovate where Renovate runs in the repository. On a pull request of a person, the comment also says what the pull request makes: the next version, from its title and the release-please files of main, and the entry that it adds to the changelog; the coverage of its tests against that of main, file by file, from the coverage reports that the checks keep as the artifact "coverage", which a pull request from a fork writes as it likes; the website that the check docs built, with the pages that it changes; and the part that a workflow of the project adds, such as one of visual tests: the report.md of its artifact pr-report-<name> for the head, under the title that [report.<name>] of .github/checks.project.toml of main gives it, with its text only as code. A pull request whose checks never failed gets the comment only when it has something of this to say, and one of a bot never.
The fix bot: a check whose findings a command fixes, such as the format of the code, the whitespace of a text file or the rules of markdownlint, runs the commands of autofix in .github/checks.toml when it fails, on the head of the pull request or on main, and keeps the files that they changed as an artifact fixes-*. A check in any workflow of the list below may do so, also in one of the project's own, and no other workflow can: the list of main decides. Once the checks of the commit whose workflows on main keep fixes have ended, the bot takes these files as data: on a pull request from a branch of this repository, also one of Renovate or another bot, it commits them as one commit onto the branch, as the release app, so that the checks run again; on one from a fork, which this bot never pushes to, it suggests them at their lines, at most ten in one review, never one twice, and a person with write access asks for the commit there with /fix, in commands.yml; on main, it keeps one pull request from bot/self-heal with them, which merges itself, and closes it once main needs no fix. Lint and the CI also run on main each week, by their schedule or by hand, as bot health starts a schedule that GitHub missed, so that what no commit changes, such as a new rule of a tool, repairs itself the same way before it fails the next pull request; a weekly run that passes starts no job here, so a quiet week takes no runner of the bot. blueprint.py of main lets through only text files that the commit has already, outside .git and the workflows, at the paths that the explanation of the check of each artifact names in writes of the catalog of main. It commits at most twice in a row onto its own commits, and leaves a pull request with the label no-bot-fixes alone. When the bot fails, it says so on the pull request; on main, it keeps one issue open until it passes again. A check still running after the wait, such as long end-to-end tests, leaves the commit to the job after its own end, however it ends: so that job starts after every run of a check for the head of a pull request from a branch of this repository, and ends at once when the commit has no fix. A commit before would cancel that run and use up one of the two commits. A fork and main act on what has ended, since a suggestion and the pull request of main cancel no run.
The title and the entry of the changelog fix themselves in a job of their own, after a failed run of the check of the title, on a branch of this repository: the bot sets the title that the PR coach suggests when only its form differs, as the type and the breaking mark decide the version, and commits one draft of the missing entry from that title, once for each pull request. The draft is the one new file that a bot of the fixes adds, which blueprint.py of main names and writes itself in changelog.d/. No artifact and nothing of the code of a pull request reaches this job.
The diagram bot: when the check diagrams of Lint finds a ```mermaid block, which the GitHub app shows as code, or pictures of diagrams that differ from their sources in docs/diagrams/, in a pull request from a branch of this repository, it commits what scripts/diagrams.sh --extract changed in the check onto that branch, as the release app, so that the checks run again, and says in a comment which blocks became pictures. blueprint.py of main takes only sources, SVG pictures and pages of Markdown from the artifact "diagrams". When the bot can't commit, it says so on the pull request, with the command. A pull request from a fork keeps the failing check, with the command that fixes it.
- When: after a run of CI (python), Variants, Windows, Issue assistant sync, Downstream, CodeQL, Docs, Lint, Pull request title, Quick checks, Fuzzing, Links, OSV-Scanner, Workflow security, Renovate or Release
- Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/after-checks.yml
Area labels
The labeler bot. It gives a pull request the labels of the areas whose files it changes, by the paths in .github/labeler.yml, and takes them away when it no longer changes them. The type label comes from the title check.
- When: every pull request
- Source:
.github/workflows/area-labels.yml
Build the image
The build of the container image of a release, called by the release workflow only, once the release is public and where PUBLISH_TO is ghcr: it builds the image of the signed tag for linux/amd64 and linux/arm64, pushes it to the GitHub Container Registry with the tags of the version and its SBOM, and attests its signed provenance there. As a reusable workflow of its own, it is isolated from the rest of the release workflow, as build-release.yml is for the other assets, and the provenance names it as the build, as SLSA Build Level 3 asks; verify-release.yml checks that.
- When: when another workflow calls it
- Source:
.github/workflows/build-image.yml
Commands
The commands that a person gives a pull request in a comment, as its first line.
/fix: the fix bot commits the fixes of the checks of the head of the pull request onto its branch, as the release app, also onto the branch of a fork whose author allows edits by maintainers, which the fix bot after the checks only suggests at their lines. Only a person with write access to the repository starts it, as GitHub answers when the command comes; anybody else gets that answer. The bot takes the fixes that the checks of the head kept, the artifacts fixes-* of the workflows of the list of after-checks.yml of main, as data, once those that keep fixes have ended, and blueprint.py of main lets through only text files that the commit has already, outside .git and the workflows. On a fork, it commits only the files that the pull request changes and none that decides what a workflow runs, such as a file of .github/ or scripts/ or pyproject.toml, whose fix stays with a person. Whether GitHub lets the app push onto the branch of a fork isn't settled, so a refusal is no failure: the bot suggests the fixes at their lines, as a fork gets them without the command, and so it does on a fork that allows no edits. One comment answers each command, with what the bot did and why; the label no-bot-fixes stops the bot's own commits, not those that a person asks for. Nothing of the pull request runs here: the job checks out main alone.
- When: comments
- Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/commands.yml
Dependabot maintenance
Dependabot keeps only the Features of the dev container (dependabot.yml); Renovate merges its own updates, those of actions pinned to a commit of a branch included. Every update merges on its own once every required check passes, a major one too: the checks are the gate, and one whose checks fail stays open and shows the failure (decision 0150). Updates of runtime dependencies are committed as fix(deps) and so lead to a patch release (see release.yml). Auto-merge is turned on as the release app, as Renovate's is: a merge that auto-merge does with the token of a workflow starts no workflow, so the release bot and the branch bot would wait for their schedules, which GitHub runs as it can, often hours late. The merge of the app starts them at once.
- When: every pull request
- Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/dependabot-automerge.yml
Docs pictures
The picture bot of the blueprint's own documentation. scripts/docs-pictures.sh records a copy of the latest release with Copier, photographs the dashboard of the website and draws the picture of a difference, so the bot runs after a release that changed what they show: the questions or the output of Copier, the files and workflows of a new repository, the image of the recording or the dashboard, the code of keep and its Pillow, as .github/docs-pictures/paths.txt lists them, and on demand. It renders the pictures without secrets, keeps those whose pixels stayed the same (blueprint.py screenshots keep), and keeps one pull request from the branch bot/pictures with the others, as the release app, which merges itself once every check passes; as the screenshot bot, it renders main anew when main changed a file of that pull request while it rendered, and the branch bot starts it for one that conflicts (decision 0118). The recording waits for the network, so a frame that repeats the one before counts once and the time each frame shows not at all; and since VHS records in real time, the script keeps the committed recording while the pictures of its screens stay the same (decision 0145). The dashboard is that of one day of its data, so it changes with the layout of the page, not with each run of the dashboard (decision 0156). A failed run keeps an issue of the bot-health bot open until the jobs that failed pass again in a run. It runs in the blueprint only; every repository has the Screenshots workflow.
- When: after a run of Release, by hand
- Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/docs-pictures.yml
Issue assistant
A first analysis of new issues, the labels of the issue forms and the answers that the assistant or the maintainer waits for: https://github.com/Dennis-Otto/issue-assistant
The jobs are the issue assistant's reusable workflow at the commit of a release, so an update is a move of the pin below. event and apply run no AI; analyze runs the engine of .github/issue-assistant/config.toml with a read-only token and read-only tools on the egress-firewall runner (.github/egress-firewall.yaml), and apply checks its answer before anything is written. The permissions below are the most that any of its jobs gets.
Without the engine's secret in the environment issue-assistant, or with the repository variable ISSUE_ASSISTANT_AI set to "off", only labels and the lifecycle work. The issue assistant's check command keeps this file equal to its template.
A run by hand, also through the REST API, answers an issue that has no comment of its task yet. Someone with write access starts it, and may add an instruction; a maintainer, with the role admin or maintain, may tick override to have the assistant answer again past its one comment. The job event checks the role of the person who started the run, and its summary records every override.
The task backlog, for a maintainer alone, gives the open issues without a first analysis one each, the oldest after the number of issue first, up to [engine] backlog_per_run of config.toml: the job assistant chooses them, and the job backlog analyzes each. It sets labels only, unless comment is ticked.
This is the form for [failures] workflow of .github/issue-assistant/config.toml: when a job of a run fails, the last job, failure, starts the workflow of the repository that the key names, which gives the run a second try.
- When: new and changed issues, comments, by hand
- Secrets:
ANTHROPIC_API_KEY,CLAUDE_CODE_OAUTH_TOKEN,COPILOT_GITHUB_TOKEN,GEMINI_API_KEY,OPENAI_API_KEY - Source:
.github/workflows/issue-assistant.yml
Issue lifecycle
Without AI: reminds reporters who were asked for information after 15 days, closes their issue after 30 days without an answer, closes a possible duplicate 3 days after the notice unless someone objected, labels the issues that a merged pull request fixes, and closes them with a link once a release ships the fix. Merges and releases start it at once, and every morning catches what was missed. A fixed issue that a release closes is filed under the release's milestone. The job is the issue assistant's reusable workflow at the commit of a release, so an update is a move of the pin below; it blocks every host but GitHub's.
This is the form for [releases] sweep_after_release_workflow = false of .github/issue-assistant/config.toml: the release workflow of the repository starts this one itself once it published a release, with gh workflow run issue-lifecycle.yml -f dry_run=false, so the end of its runs doesn't. https://github.com/Dennis-Otto/issue-assistant
- When: every day at 06:41 UTC, every pull request, a release, by hand
- Source:
.github/workflows/issue-lifecycle.yml
Renovate
The dependency bot. On its schedule, which GitHub runs as it can, a few times a day and often hours late, and on demand, it runs Renovate as the release app of the owner: in the blueprint for each repository of its owner that has a .github/renovate.json5, and in a repository that runs Renovate itself, the answer renovate_runner "self" of the blueprint, for that repository alone. Every run has a token for its one repository, so a package manager that runs code of a dependency while it writes a lock file can't push to another. It opens the updates of the actions, the dependencies, the images and the pins, and the checks of each repository decide whether they merge. The rules of the updates are in the .github/renovate.json5 of each repository; .github/renovate-global.json5 holds those of the bot itself. A pull request that changes the rules or a lock file shows whether Renovate accepts the rules and still reads every file of the dependencies.
- When: every 2 hours at :17, every push to
mainthat changes certain files, every pull request that changes certain files, by hand - Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/renovate.yml
Screenshots
The screenshot bot. A repository turns it on with scripts/screenshots.sh, which renders its pictures in place, wherever the documentation, the stores or the social preview take them from, and lists in .github/screenshots-paths.txt the files whose change can change them, as the paths of a workflow; without the script, every run ends after its plan. After a change of main that touches a file of the list and every week, the plan starts a run that renders, as the branch bot and a person do by hand, and so does the release bot after every release, whose version a picture may show, once its run passed (decision 0173). That run renders the newest main, one at a time, without secrets, with Docker, the whole history and the tools of the website in .venv-docs as CONTRIBUTING.md sets them up; the script of a new repository photographs the website and, by its kind, the integration in Home Assistant or the app in Nextcloud, each in Docker. .github/screenshots.toml, which belongs to the project, can name shards, which render side by side on runners of their own, each with SCREENSHOTS_SHARD set to its name, the files besides pictures that the script renders, such as a recording that a page plays, and the hosts that the jobs that render may reach, of which Harden-Runner then lets through no other (decision 0120); it can also leave hosts out of the wait, give the script a time limit and name the folder that a failed shard keeps (decision 0124). It compares each picture that changed with the one of main by its pixels: a picture whose pixels stayed the same keeps its file, so that a new encoder, browser or runner changes nothing; for each other one of the same size and frames, it draws the changed pixels in red into diff/ of the artifact, and the place of the change before and after into comparison/, which the bot never commits (decisions 0131 and 0149). When pixels changed, the job collect puts the shards together, and the bot keeps one pull request from the branch bot/screenshots, as the release app, which merges itself once every check passes, and closes it when main looks as rendered without it. When main changed a picture or a page of the pull request while it rendered, as when the pull request before merged, it starts itself anew rather than open one that conflicts; the branch bot starts it for one that conflicts later (decision 0118). The bot commits only pictures and the files of the settings, by plain paths, outside .git and the workflows, and for a picture that came out at another size the width and the height that the pages of main name for it, so that the pull request passes a check of those sizes; without the release app, the run warns and keeps the pictures as an artifact. A failed run keeps an issue of the bot-health bot open until the jobs that failed pass again in a run; a push that only plans leaves it open.
- When: every push to
main, every Friday at 04:29 UTC, by hand - Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/screenshot-bot.yml
Issue assistant sync
The sync bot of the issue assistant, in the blueprint alone. The four workflows of the issue assistant and its firewall policy are templates of its release, with which the check issue-assistant compares every repository; the blueprint keeps the copies in .github/ that every repository made from it renders. On its schedule, and on demand, this workflow takes the latest published release of the issue assistant and, once it has verified that the release workflow of the issue assistant made it, runs install of that release in the root of the blueprint, takes over its firewall policy and moves every pin of the action to it, that of the check in the Lint workflow and that of the reusable workflow of Findings in After the checks too, with sync_issue_assistant.py. It keeps one pull request with the result from the branch bot/issue-assistant, as the release app, which merges itself once every check passes; the next release of the blueprint brings it to every repository. A release that it can't verify changes nothing and fails the run. Installing runs without secrets; only the job of the pull request has the release app, and it runs nothing of the release. A pull request that changes the bot runs it without a pull request of its own, as a start by hand with dry_run does. The bot-health bot keeps one issue open about a failed run, with the reason that it gave, which the next run that passes closes.
- When: every hour at :20, by hand, every pull request that changes certain files
- Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/sync-issue-assistant.yml
Update branches
The branch bot. main only takes pull requests that are up to date with it, and auto-merge doesn't update a branch by itself. So only one pull request can merge next, and each merge leaves the others behind again: bringing all of them up to date after every merge ran the checks of every waiting pull request for the one that merged. The bot keeps a line instead, the pull requests that wait for auto-merge in the order in which it was turned on, and brings only the first one up to date that can merge, as the release app, so that its checks run again and it merges once they pass. While its checks run, the others wait; its merge starts the next run, and so does a required check of it that fails for good, through the bots after the checks, which start this workflow then and only then: GitHub would create a run here after the end of every check, which skipped in all but a few (decision 0151). Turning auto-merge on starts one at once. A pull request whose required check failed waits for a fix and leaves its place to the next one. One that conflicts with main gets the label merge-conflict and one comment. The label goes once it no longer conflicts; the comment stays for the history, so a later conflict brings back only the label. One of a bot that builds its branch anew from main, the screenshot bot, the picture bot or the issue assistant sync, gets the label and no comment, and the bot starts the workflow of that bot once for each conflict (decision 0118). A request that GitHub refuses is a warning about that pull request, and the bot goes on with the next one. The release pull request takes no place in the line, and the bot never updates its branch: once auto-merge is on for it, the release bot rebuilds it on main, and when auto-merge is turned on while it is behind, the bot starts the release bot, unless a run of it that came since is still running (decision 0175). Renovate's pull requests take their place in the line as well, which spares them the wait for its next run: Renovate commits as the release app too, so it still takes the branch for its own; one that conflicts with main it builds anew itself. A pull request from a fork takes its place as well, once its author allows edits by maintainers; without that, or with a commit that the rules of main refuse for its signature, it waits outside the line, and the summary says so. GitHub holds the runs of each new head of a fork for an approval, so such a head isn't in flight: it waits for a person and leaves its place to the next one, and the bot doesn't update it again until someone approved. Only a head that the bot made itself, on top of commits that a person approved, gets its runs approved by the bot, in the summary of the run, since nothing new from the fork runs then (decision 0099). Every merge leaves the runs of its pull request behind, and every update the runs of the commit that it replaced: after the line, the bot cancels those that no open pull request has as its head any more, as this job runs anyway (decision 0108). The bot checks out main alone, for blueprint.py, which holds the logic, and runs nothing of a pull request.
- When: every push to
main, every pull request, every 6 hours at :10, by hand - Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY - Source:
.github/workflows/update-branches.yml
Welcome
The welcome bot: a person's first pull request in this repository gets a comment with what helps it along. New issues get the issue assistant's analysis instead.
- When: every pull request
- Source:
.github/workflows/welcome.yml
Security¶
They look for vulnerabilities, leaked secrets and risky dependencies.
CodeQL
The code analysis of GitHub. CodeQL reads the code of every language of this repository and its workflows with the queries of security-extended, for every pull request, every push to main and every week, and sends what it finds to code scanning, where a new alert of a pull request stops its merge. A private repository without GitHub Code Security has no code scanning: there the settings bot sets the variable CODE_SCANNING to off, and the check passes without an analysis, because the terms of CodeQL allow it on private code only with GitHub Code Security or Advanced Security.
- When: every push to
main, every pull request, every Wednesday at 04:17 UTC, by hand - Required checks:
codeql - Source:
.github/workflows/codeql.yml
Findings
Without AI, every morning, after each scan of code scanning on main and when the accepted findings change: dismisses the code scanning alerts that .github/findings.toml accepts, with its reason, and fails while any other alert is open. The run names an open alert by its number and link only, which only maintainers can follow; nothing becomes a public issue. The job is the issue assistant's reusable workflow at the commit of a release, so an update is a move of the pin below; it blocks every host but GitHub's.
This is the form for [findings] pull_requests = false of .github/issue-assistant/config.toml: another workflow of the repository calls the reusable workflow after the scans of pull requests and dismisses their accepted alerts, so this one runs after the scans of main alone, the default branch. https://github.com/Dennis-Otto/issue-assistant
- When: every day at 07:17 UTC, every push to
mainthat changes certain files, after a run of CodeQL, OpenSSF Scorecard, Workflow security or OSV-Scanner, by hand - Source:
.github/workflows/findings.yml
Fuzzing
Coverage-guided fuzzing with Atheris of every target in fuzz/: a minute each in every pull request that changes the code, the targets or the tools, and every week 25 minutes shared by all targets, so the job ends within its timeout however many targets there are. Its check reports on every pull request and is required, so a pull request that changes what the targets read merges only once they passed for its last commit; any other one passes in seconds, without fuzzing (1074). A finding fails the run, with the input that caused it in the log.
- When: every pull request, every Sunday at 03:23 UTC, by hand
- Required checks:
fuzz - Source:
.github/workflows/fuzz.yml
OSV-Scanner
Every lock file of the repository against the OSV database of known vulnerabilities: in every pull request that changes a lock file the vulnerabilities that it brings in, and on main and every week all of them. Findings go to code scanning, where the Findings workflow keeps them fixed or accepted; osv-scanner.toml lists those that the project accepts, each with its reason, such as an advisory in a test base that pins its dependencies. Dependabot doesn't read that file: the job dependabot alerts of the Release workflow, which runs every day, closes each Dependabot alert that an acceptance covers and warns of each acceptance that ends soon (decision 0086).
- When: every pull request that changes certain files, every push to
main, every Monday at 05:33 UTC, by hand - Source:
.github/workflows/osv-scanner.yml
OpenSSF Scorecard
The OpenSSF Scorecard: it rates the security practices of the repository, such as its branch protection, its pinned actions and its signed releases, after every push to main and every week, publishes the score for the badge of the README and sends each finding to code scanning.
- When: every push to
main, every Sunday at 03:47 UTC, by hand - Source:
.github/workflows/scorecard.yml
Workflow security
zizmor checks every workflow for the ways a workflow gets attacked: template injection, permissions wider than needed, credentials that persist, unpinned actions and dangerous triggers, and asks GitHub for the advisories of the actions that they pin. In every pull request into main, also the release pull request, whatever it changes: the rules of main stop a merge while the pull request adds an alert of zizmor, and while its analysis is missing. On main after every merge and every week, for the analysis that code scanning compares the pull requests with; an advisory published since shows as an alert of the next pull request, until a run on main by hand gives main the alert. Its findings go to code scanning, where the Findings workflow keeps them fixed or accepted; .github/zizmor.yml holds what the repository accepts on purpose.
- When: every push to
main, every pull request, every Tuesday at 05:35 UTC, by hand - Source:
.github/workflows/zizmor.yml
Maintenance¶
They keep the repository, its settings, its labels and its reports current.
Bot health
The bot-health bot. GitHub mails the failure of a scheduled run only to whoever last changed its schedule, and that of another run to whoever started it, which here is mostly the release app, so a failing bot went unnoticed for days. When a run of a bot or a scheduled workflow ends on the default branch, or the verification of a release that someone published by hand or with a token, this bot runs its failed jobs once more if a second try can pass, as it does with a job that GitHub cancelled at its time limit. Findings, Mutation, the property tests and the fuzzing would only hide or repeat their failure, so they get it only when every job that failed failed outside the code: Harden-Runner stopped it, or GitHub cancelled it at its time limit in the set-up of the job, before a step of its own ran, and in Findings, whose jobs take under a minute, also in the runner after its last step. Such a time-out that comes back is reported from its third time in 7 days, by the name of its job, while its jobs still run once more (decision 1118). A failure that stays keeps one issue per workflow open, with the label bot-failure, the failed jobs, their steps and their first errors, and the next run that passes closes it once every job that failed ran again in it, in every leg of its matrix, and passed: a run that skipped such a job, as a push that only plans the screenshots, leaves it open. Every night it also looks at the latest run of every workflow, those of the project and the checks of main too, in case GitHub lost an event, and starts a workflow whose schedule GitHub missed or switched off. A failure of Lint at a commit that the branch has left says nothing any more, because a pull request reaches the branch only when it passes Lint: it gets no issue, and an open one starts Lint by hand, so that a run that passes closes it. The same look compares the social preview that GitHub shows with .github/social-preview.png, which only a person can upload, and keeps one issue open, Upload the new social preview, until they are the same, in a public repository only, since GitHub shows no social preview of a private one; its label is manual-step, not bot-failure, since nothing fails there. The same look starts the blueprint bot when the blueprint has a newer release than .copier-answers.yml names and the pull request of the bot doesn't bring it yet, so that a repository that the Rollout doesn't start gets it within a day. Runs of pull requests start nothing here, as the filter of the branches leaves them out before GitHub makes a run, and neither does a run that GitHub couldn't start, as in its outage of 9 November 2026: the nightly look runs it again once. A look that GitHub keeps failing ends with a notice, not a failure (decision 0136). The bots of events, Area labels, Welcome, Dependabot maintenance and Commands, also those of a pull request or of a fork, and the workflows that keep an issue of their own, such as Newest Node, get neither a second try nor an issue here, unless Harden-Runner stopped a job of their first attempt, or a job of Newest PHP broke before its tests ran: then their failed jobs run once more, as nothing else would run them again (decisions 0141 and 1119). Their end starts nothing here: a last job of theirs starts this bot by hand with the run, and only when a job failed at their first attempt (decision 0176). Nothing follows the end of Bot health itself, so the nightly look runs the failed jobs of its own runs of the last two days once more that Harden-Runner stopped at their first attempt, and those of the bots of events and of the workflows with an issue of their own whose last job Harden-Runner or GitHub kept from starting this bot. A run of Issue assistant for an event of an issue gets the same second try when Harden-Runner stopped a job of it: the last job failure of its caller, which [failures] workflow of .github/issue-assistant/config.toml chooses, starts this bot with the run, and the nightly look covers a run whose start failed; the rerun posts the analysis that its first attempt kept, and its end starts nothing here either. It checks out the default branch only, for blueprint.py, never the code of a pull request; blueprint.py bot-health holds the logic.
- When: after a run of Blueprint update, Chrome Web Store, Clean-up, Findings, Fuzzing, Issue lifecycle, Labels, Links, Mutation, OSV-Scanner, OpenSSF Scorecard, Property tests, Release, Release verification, SBOM, Screenshots, Settings, Update branches, Upstream, Workflow security, Dashboard, Docs pictures, Issue assistant sync, Renovate, Rollout or Weekly report, every day at 01:47 UTC, by hand
- Source:
.github/workflows/bot-health.yml
Clean-up
The clean-up bot. Every week it deletes what nobody needs any more: the branches that main holds completely and that no open pull request uses, and the caches of the Actions that belong to closed pull requests. A branch with commits that main doesn't have stays; the bot lists it once it is a month old, so that its owner decides. It never touches main, release, Renovate or Dependabot branches.
- When: every Sunday at 05:40 UTC, by hand
- Source:
.github/workflows/cleanup.yml
Dashboard
The website of the blueprint on GitHub Pages: its documentation, which MkDocs builds from mkdocs.yml and docs/ as in every repository, and under dashboard/ the dashboard of the owner's public repositories: the release of the blueprint each one is on, its releases, its open pull requests, the last runs of its main workflows and its OpenSSF Scorecard (dashboard.py), and beside it the same data as repos.json, the health of each day as history.json and the releases of every repository as the Atom feed releases.atom, at addresses that stay, and the public repositories of other owners made with the blueprint, which GitHub's code search finds once a week, as made-with.json. On a schedule, which GitHub keeps as it can, and after every change of either, of the changelog that a page includes and of the code that reads GitHub. A history or a list of the published dashboard that can't be read fails the build, so that the website keeps its trends until the next run instead of a history of one day; a search that GitHub refuses keeps the list as it was. Everything it shows is public anyway, so the job's own token reads it. This workflow belongs to the blueprint alone; the Docs workflow checks the documentation in every pull request and publishes the website of every other repository.
- When: every push to
mainthat changes certain files, every 2 hours at :05, by hand - Environments:
github-pages - Source:
.github/workflows/dashboard.yml
Labels
Creates and updates the repository's labels from .github/labels.toml. It never deletes a label; one that is missing from the file is reported in the summary. The job is the issue assistant's reusable workflow at the commit of a release, so an update is a move of the pin below; it blocks every host but GitHub's. https://github.com/Dennis-Otto/issue-assistant
- When: every push to
mainthat changes certain files, by hand - Source:
.github/workflows/labels.yml
Settings
The settings bot. Every week, and after each change of the settings as code or of its own code, it brings the settings of the repository on GitHub in line with .github/repository.toml, .github/repository.project.toml and .github/labels.toml, as the settings app, a second GitHub App of the owner that only administers, once the variable SETTINGS_APP_CLIENT_ID and the secret SETTINGS_APP_PRIVATE_KEY name it, and as the release app until then, with a token that may write the administration of the repository but neither its code nor its workflows. What the API can't set, such as the value of a secret, and what GitHub refused fail the run and show in its summary, with the command that sets it or the permission that the app lacks.
- When: every push to
mainthat changes certain files, every Thursday at 06:05 UTC, by hand - Environments:
release - Secrets:
RELEASE_AUTOMATION_PRIVATE_KEY,SETTINGS_APP_PRIVATE_KEY - Source:
.github/workflows/settings.yml
Weekly report
The weekly report of the owner's public repositories: every Monday it posts what they released, merged and fixed in the last calendar week in UTC (weekly.py) in the discussions of the blueprint. Everything it reports is public anyway, so the job's own token reads it. This workflow belongs to the blueprint alone.
- When: every Monday at 05:07 UTC, by hand
- Source:
.github/workflows/weekly-report.yml