Troubleshooting¶
Most problems explain themselves where they happen: a check that fails says in its summary and in the report of the PR coach what it found and how to fix it, a bot says in the summary of its run what is missing, and the bot-health bot keeps one issue open for each bot that fails on main. This page covers what needs a person beyond that. The common questions are on the page Questions and answers.
create stops at its preflight¶
What you see: python3 .github/blueprint.py create shows The preflight of OWNER/NAME with a line marked ✘ and the command that fixes it below, and ends with the preflight found 1 problem that would stop create, which made nothing.
Why: before its first step, create checks what its steps need, so that a missing tool or right can't leave a repository that is half made. The preflight only asks git and gh, and create makes nothing while a finding is marked with ✘. A finding marked with · is one that GitHub didn't answer, that the preflight can't tell or that only warns, such as a Git that signs no commit, and it stops nothing. python3 .github/blueprint.py doctor runs the preflight alone, and create --dry-run shows it with the commands.
What to do: run the command below the finding, then create again.
- Python before 3.12: the tools of the new repository, such as its lock files, need Python 3.12 or later. Install it from python.org; on Windows,
py -3runs it. - Git is not installed: install it from git-scm.com.
- Git has no name or no email address to commit with:
git config --global user.name "Your Name"andgit config --global user.email "you@example.com". The sign-off of the first commit names them. - Git signs no commit, or names no key to sign with (·):
creategoes on, since its first commit lands before the rules ofmain, but every commit after it needs a signature: set up a key as A commit has no verified signature says. Git signs a commit only with --gpg-sign means that Git has a key:git config --global commit.gpgsign truesigns every commit with it. - GitHub CLI before 2.48, or none: install or update it as its installation says.
- gh is not signed in to github.com:
gh auth login --hostname github.com --scopes workflow. With a token in the variableGH_TOKEN, gh uses that one: give it the scopes, or remove the variable. - Without the scopes that create needs:
gh auth refresh --hostname github.com --scopes workflow,read:org, with the scopes that the finding names.repocreates the repository and pushes,workflowpushes the files in.github/workflows/over HTTPS, which GitHub refuses without it (withsshas gh's git protocol the key pushes them, and the preflight doesn't ask forworkflow), andread:orgshows whether you own the organization. A fine-grained token names no scopes, so the preflight can't tell (·): it has to create repositories of the owner, with Administration, Contents and Workflows (read and write). - GitHub has no account or organization of that name: the owner of the answers is misspelled. Name the repository with
python3 .github/blueprint.py --repo OWNER/NAME create. - An account of its own, while gh is signed in as another: only that account creates its repositories.
gh auth switch --user OWNERswitches to it when gh knows it,gh auth loginsigns it in. - No member of the organization, or invited: an owner of the organization adds you, or you accept the invitation at
https://github.com/orgs/OWNER/invitation. - A member of the organization, not an owner (·):
gh repo createworks where the organization lets its members create repositories, and you then administer the repository that you made, whichsettings applyneeds. Otherwise an owner runscreate. - The name is taken: choose another with
--repo OWNER/NAME. When it is the repository that an earlier run ofcreatemade, connect the folder to it withgit remote add origin https://github.com/OWNER/NAME.gitand runcreateagain, which goes on from there. - origin pushes to a repository that GitHub doesn't have: it was deleted, or the address is wrong.
git remote remove origin, thencreateagain.
create stopped midway¶
What you see: create stopped after gh repo create, at the push or at settings apply, such as on a connection that dropped, and the folder pushes to origin now.
Why: gh repo create makes the repository on GitHub and adds origin before it pushes, so a push or settings that failed leave a repository that is there.
What to do: run python3 .github/blueprint.py create again. When origin pushes to the repository of the answers, and GitHub has it, create goes on from the first step that is left: the push of main when GitHub has no branch main yet, signed in by gh as gh repo create --push is, then settings apply and the checklist, which change only what differs. A folder that pushes to another repository is no new copy, and create refuses it.
A commit has no verified signature¶
What you see: GitHub blocks the merge of a pull request with Commits must have verified signatures, and the check signed commits names a commit with the reason of GitHub, such as unsigned, unknown_key or bad_email. Or a commit stops with gpg failed to sign the data or user.signingkey needs to be set, or the preflight of create, doctor or app register shows Git signs no commit, and main takes signed commits only.
Why: settings apply gives main the rule that every commit carries a signature that GitHub verifies, so that nobody can push a commit in the name of somebody else, and nobody merges past it. The first commit of create lands before the rule, and every commit after it needs a signature: the one of app register, your own and those of an update of the blueprint by hand. git commit -s adds only the sign-off of the Developer Certificate of Origin, and -S signs, so a commit needs both. GitHub verifies a signature when the key is on your account as a signing key, a type of its own beside the key that signs you in, and when the email of the commit is verified on your account.
What to do: set up a key once, before the first commit after create. With SSH, which Git 2.34 and later sign with, these lines make a key where you have none yet, have Git sign every commit with it and add it to your account as a signing key, after gh gets the scope for that:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -C "you@example.com"
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ed25519.pub
git config --global commit.gpgsign true
gh auth refresh --hostname github.com --scopes admin:ssh_signing_key
gh ssh-key add ~/.ssh/id_ed25519.pub --type signing --title "Signing key"
Skip the first line when ~/.ssh/id_ed25519 is there already, and add the key in place of the last two in the settings of your account on GitHub, under SSH and GPG keys → New SSH key with the type Signing Key. With a key of GPG, follow GitHub's guide in place of these lines. python3 .github/blueprint.py doctor then shows Git signs every commit, and the contributing guide of every repository says the same.
A branch whose commits have no signature, or one that GitHub doesn't verify, gets them signed again and pushed: the rebase onto the newest main of GitHub writes every commit of the branch anew with a signature, also when the branch starts from there already, which --force-rebase sees to.
git fetch origin main
git rebase --force-rebase --gpg-sign FETCH_HEAD
git push --force-with-lease
--force-with-lease replaces the branch on GitHub only while it is the one that you rebased, and the checks of the pull request run again. For unknown_key, add the key to your account as above; for bad_email, verify the email of the commit on your account or commit with one that is, git config --global user.email, and sign the commits again.
A script or the hook is not executable¶
What you see: the check fails in its step Git hooks with .githooks/pre-push: is not executable, so git skips it, or ./scripts/check.sh answers Permission denied on Linux, on macOS or in the dev container.
Why: Git runs a hook, and a shell a script by its path, only when its file is executable, which Git records as the mode 100755. Windows has no such mode, so Git for Windows records a new file as a plain one, 100644. create records every file that the template marks executable as such before the first commit, and Copier keeps the mode of a file that Git has already, but a repository that the create of an older release made on Windows has plain files, and so has a script that copier update by hand on Windows adds as a new file. The blueprint bot updates on Linux, where the mode comes along.
What to do: record the files as executable on a branch and merge that in a pull request, on any platform, such as for the hook and the scripts of the blueprint:
git fetch origin main
git switch --force-create executable-scripts FETCH_HEAD
chmod +x .githooks/pre-push .devcontainer/setup.sh .github/blueprint.py .github/*.sh scripts/*.sh
git update-index --chmod=+x .githooks/pre-push .devcontainer/setup.sh .github/blueprint.py .github/*.sh scripts/*.sh
git commit --signoff --message 'chore: make the hook and the scripts executable'
git -c credential.helper= -c 'credential.helper=!gh auth git-credential' push --set-upstream origin HEAD
gh pr create --fill
chmod +x makes the files executable on the disk, on Linux, on macOS and in the dev container, and git update-index --chmod=+x in the commit, on Windows too. The rules of main ask for a signature on every commit: turn commit.gpgsign on or add --gpg-sign to the commit, with a key as A commit has no verified signature sets it up, and the check signed commits names a commit without one and how to sign it again. A container also has app/entrypoint.sh. git ls-files --stage .githooks scripts shows the mode of each file, 100755 for one that is executable. In Git Bash on Windows, the line with .github/*.sh scripts/*.sh names each script.
An update of the blueprint conflicts¶
What you see: the pull request of the blueprint bot, from the branch blueprint/update, has the label merge-conflict and its auto-merge is off. Its description has a checklist of the files to resolve.
Why: the repository changed lines of a file of the blueprint that the new release changes too. copier update merges both line by line and leaves conflict markers (<<<<<<<, =======, >>>>>>>) where it can't.
What to do: resolve the markers on the branch of the pull request and push:
git fetch origin && git switch blueprint/update
# Edit each file of the checklist: keep what the repository needs of both sides.
bash scripts/check.sh # fails on a conflict marker that is left
git commit -s -am "Resolve the conflicts of the blueprint update"
git push
Once you commit to its branch, the bot leaves the branch to you: when a newer release is out, it says so in one comment, and after you merge or close the pull request, its next run brings the rest. To start over, or to see the conflicts on your machine first, run the update with the same Copier as the bot, whose version and hashes .github/copier-requirements.txt pins. Put its virtual environment outside the checkout, and start from a current main on a branch of your own: Copier stops with Destination repository is dirty while the working tree holds a change or a file that Git doesn't ignore, and on blueprint/update the answers already name the new release.
python3 -m venv ~/.venvs/copier
~/.venvs/copier/bin/pip install --require-hashes -r .github/copier-requirements.txt
git switch main && git pull
git status --short # must print nothing: commit or stash what it lists
git switch -c blueprint/local
~/.venvs/copier/bin/copier update --defaults --conflict inline
On Windows, create the environment with py -3 -m venv %USERPROFILE%\.venvs\copier and run its programs from %USERPROFILE%\.venvs\copier\Scripts\ in place of ~/.venvs/copier/bin/.
--defaults takes the answers of .copier-answers.yml, and --conflict inline writes the markers into the files, as the bot does, rather than files of rejected changes beside them. A change that a project keeps in a file of the blueprint conflicts again with each update that touches the same lines; move it into a file of the project where one exists, as the questions and answers show.
A required check never reports¶
What you see: a pull request waits for a check with Expected — Waiting for status to be reported, and no run of it starts or finishes.
Why, and what to do:
- An update renamed a required check. The ruleset Protect main still asks for the old name, which no workflow reports any more. Check out the branch of the pull request and run
python3 .github/blueprint.py settings applythere right before you merge it, so that the ruleset asks for the new names; the settings bot applies the same after the merge. - The workflow didn't start. Its run under Actions shows a startup failure when it uses an action that the list of the allowed actions lacks. The check lint of the pull request names each one already, and so does
python3 .github/blueprint.py settings check; add its pattern to[actions.selected]of.github/repository.project.tomlfor a workflow of the project, and apply the settings. A step withuses: docker://…fails the same way, as GitHub counts the image as an action that no pattern allows: run it in arun:step with thedocker run --rmthat the check names instead. - The pull request comes from a token that starts no workflow, such as the token of a job: see The release pull request has no checks.
- The pull request comes from the fork of an outside contributor: its workflows wait for a maintainer, who starts them with Approve and run on the pull request. The branch bot starts them itself only for a head that it made on top of commits that a maintainer approved; the summary of its run under Actions, in the workflow Update branches, says what such a pull request waits for.
- A classic branch protection of
mainfrom before the blueprint still requires the old names of the checks, or an approval that no bot gives. The rulesets don't show it, butpython3 .github/blueprint.py settings checkand the checklist name it, with what it requires and how it goes:gh api --method DELETE repos/OWNER/NAME/branches/main/protection, or Settings → Branches on GitHub. The settings never remove it themselves, as a person may have set it on purpose; the rulesets protectmainwithout it. - A check of the project alone that
.github/repository.project.tomlrequires runs in a workflow with a path filter, so a pull request that changes other files never starts it. A required check runs in every pull request: remove the filter, or let the job decide inside its steps what to skip, so that it still reports success.
Applying the settings without administrator rights¶
What you see: python3 .github/blueprint.py settings apply ends with lines such as the rulesets could not be applied: … the token may lack the permission Administration (read and write).
Why: most of the settings as code, such as the rulesets, the security and the permissions of Actions, need an administrator of the repository. blueprint.py uses the account that gh auth login signed in, and applies every part that GitHub accepts; it names each part that GitHub refused with the permission that it needs.
What to do:
- Let the settings bot apply them: it runs as the release app, which has the permission Administration, after every change of the settings as code on
main, every week and on demand under Actions → Settings → Run workflow. Change.github/repository.project.tomlin a pull request, and the settings follow its merge. - Ask an administrator to run
settings applyonce, for a new repository whose release app is not set up yet. - See what differs with
python3 .github/blueprint.py settings check, which changes nothing; some parts, such as who may bypass a ruleset, show only to an administrator.
The settings bot fails at its token¶
What you see: the Settings workflow fails at the step Create a token of the release app, and its summary says The release app refused the token of the settings bot.
Why: the settings bot asks the release app for a token with only the permissions that settings apply needs: Administration, Issues, Pages and Variables (read and write), and Actions, Contents and Environments (read). GitHub refuses the whole token when the app lacks one of them, as an app does that was registered before the bot asked for it, or without Variables, which the link of the checklist can't fill in. No setting has changed.
What to do:
- Grant the missing permissions on the settings page of the app, under Permissions & events; the log of the step names what GitHub answered.
- Accept them on the installation: GitHub asks the owner of each installation to accept new permissions, under Settings → Applications → Installed GitHub Apps.
- Run the workflow again under Actions → Settings → Run workflow.
The settings name a switch that GitHub doesn't do¶
What you see: the summary of the Settings workflow, or python3 .github/blueprint.py settings apply, ends with GitHub doesn't do this for the repository, which fails nothing, and below it a switch such as security.secret_scanning_non_provider_patterns with the line that stops asking for it.
Why: GitHub offers some switches of the security only with some plans, such as the generic patterns of secret scanning, which find private keys, connection strings and passwords that no provider issued. On a repository of a user GitHub accepts their write and keeps them off, or leaves them out of its answer. The settings bot asks again in every run, so that a repository whose plan gains the switch gets it, and names what GitHub kept as it was without failing the run (decision 0055).
What to do:
- Nothing, if the repository should get the switch once its plan has it: the notice stays in the summary of every run and fails nothing.
- Stop asking for it with the line that the notice names, such as
secret_scanning_non_provider_patterns = falseunder[security]in.github/repository.project.toml, in a pull request; the notice ends with its merge. - Expect
settings checkto name it as a difference: it writes nothing, and only a write shows what GitHub keeps.
The release pull request has no checks¶
What you see: the pull request chore: release x.y.z shows no checks, and the summary of the Release workflow says that the repository names no release app.
Why: without the release app, release-please keeps the release pull request with the token of the job, which starts no workflow, and only the release app may create and sign a release tag, so no release can be published.
What to do:
- Run
python3 .github/blueprint.py app register, as the page Your own account shows. It registers the release app, sets its private key and opens the pull request that names it, orapp connect --key-file FILEdoes so for an app that exists; the variableRELEASE_AUTOMATION_CLIENT_IDthen names it, and the secretRELEASE_AUTOMATION_PRIVATE_KEYof the environmentreleaseholds the key. - Install the app on the repository, and merge the pull request.
- Start the Release workflow under Actions → Release → Run workflow, or merge the next pull request. It updates the release pull request as the app, and its checks start.
When the token of the app fails, as for an app that isn't installed on the repository or a key that doesn't belong to it, the step that asks for the token fails, and the bot-health bot keeps an issue open until a run passes. A pull request whose checks didn't start for another reason starts them when a person closes and reopens it.
app register doesn't go on¶
What you see: python3 .github/blueprint.py app register waits at confirm the page at, or ends with GitHub didn't come back, The page was cancelled or Refused an answer whose state doesn't belong to this run.
Why: the command waits for GitHub to come back to a server on a free port of 127.0.0.1, which only this machine reaches, and for ten minutes at most. It sets nothing before that. GitHub sends the browser back only after you press Create GitHub App, and the form carries a random state, so an answer without it is refused and the wait goes on.
What to do:
- The page didn't open: open the address that the command printed, in a browser on the same machine. For a browser on another machine, run with
--no-browserand forward the port. - GitHub shows a form without the name and the permissions: the manifest may not have survived a sign-in on the way. Sign in to GitHub first, then run the command again.
- The name is taken: change it on the page of GitHub; the command takes the name that GitHub made.
- It says that GitHub made the app on another account: the browser was signed in as someone other than the owner, and a private app installs only on the account that owns it. Delete that app at the address that the command names, sign in as the owner, and run it again.
- GitHub refused the private key: the app exists and no file holds its key. Make a new key on the settings page of the app and run the
app connectcommand that the error shows. - A step of the pull request failed: the private key is set, and the error lists the commands that are left, starting with the one that failed. Fix its cause and run them.
A bot says that it needs the release app¶
What you see: a run of a bot, such as Settings, the blueprint bot, the branch bot or the fix bot, shows the annotation This repository names no release app in the variable RELEASE_AUTOMATION_CLIENT_ID or has no private key of its release app, and its summary starts with … needs the release app of the owner.
Why: every bot that acts as the release app checks for the app before it asks for its token, in its step Check that the release app is set up, and names what is missing rather than fail at the token with an error that says nothing of the cause. A bot whose work is what the app does fails: the blueprint bot, the settings bot, the upstream bot of a Nextcloud app, Renovate in a workflow of the repository and the Rollout. A bot that only helps a pull request along warns and goes on without the token: the fix bot, the branch bot, the diagram and screenshot bots, the merge of Dependabot's updates and the release bot.
What to do: run python3 .github/blueprint.py app register, as the page Your own account shows, or app connect --key-file FILE for an app that exists. It sets the secret RELEASE_AUTOMATION_PRIVATE_KEY of the environment release and opens the pull request that names the app in the variable RELEASE_AUTOMATION_CLIENT_ID. Install the app on the repository and merge the pull request; python3 .github/blueprint.py checklist shows what is left. The next run of each bot does its work.
Renovate opens no updates¶
What you see: no pull request of Renovate, and the checklist doesn't tick Renovate off.
Why, and what to do: first, the rules may hold an update back: it comes a week after its release, on a Monday, unless it fixes a vulnerability, and an image whose registry gives Renovate no date of its release, such as one of ghcr.io, comes at the next Monday run without the week (decision 0148); the new digest of a tag that stays comes in a pull request of its own, update the digests of …, beside that of the new versions. Renovate keeps no issue that lists what waits (decision 0057). Otherwise it depends on who runs Renovate, by the answer renovate_runner:
self, a workflow of the repository:.github/workflows/renovate.ymlruns as the release app; a run without the app says in its summary what is missing. Actions → Renovate → Run workflow starts one at once, and a pull request that changes the rules or a lock file shows whether Renovate still accepts and reads them.mend, the Mend Renovate app: install the Mend Renovate app on the repository; it comes at every push.hub, the Renovate workflow of the blueprint, for the repositories of the blueprint's owner: the release app must be installed on the repository, which needs a.github/renovate.json5.
Where a Renovate workflow runs, the bot-health bot keeps one issue open with the warnings and errors of Renovate.
Renovate leaves a branch alone¶
What you see: a pull request of Renovate falls behind main or stays on an old version, and a comment of Renovate, Edited/Blocked Notification, says that it won't rebase the pull request because it doesn't recognize the author of the last commit.
Why: Renovate rebases a branch only as long as every commit on it counts as its own, and takes any other commit for work that it must not overwrite. The bots of the repository don't count as someone else: they commit as the release app, which is the address that Renovate runs under in a Renovate workflow, and which the rules of the blueprint name for the Mend Renovate app (decision 0104). A person does count, also with Update branch on the page of the pull request or gh pr update-branch: GitHub makes that merge in their name, and Renovate can't tell it from an edit.
What to do: nothing, where the commits that aren't Renovate's are merges of main or commits of bots: the nightly look of the bot-health bot ticks the box If you want to rebase/retry this PR, check this box in the description of the pull request, and Renovate builds the branch anew in its next run (decision 0144). Where a person changed something on the branch, the look lists the pull request in the issue Renovate leaves pull requests alone instead: move anything that must stay to a pull request of its own, then tick the box yourself, since the new branch drops the commit of the person. To bring a branch of Renovate up to main, leave it to Renovate and the branch bot rather than Update branch.
OSV-Scanner reports a version that another package pins¶
What you see: the check osv-scanner fails, and code scanning has open alerts of OSV-Scanner for a lock file whose dependency no update can move, so that the Findings workflow fails on main too. Renovate opens no pull request for them, and the issue Renovate logs problems lists Detected empty commit - aborting git push for a branch such as renovate/pypi-pillow-vulnerability. Home Assistant, for example, pins the Pillow and the uv that the tests of an integration install.
Why: the package that pins the version, such as the test plugin of Home Assistant, holds it until its next release, so the lock file stays as it is: Renovate's fix of the vulnerability is an empty commit, in every run.
What to do: accept every advisory of that version in the osv-scanner.toml beside the lock file, with the reason and the date when a person looks again, as an entry of [[PackageOverrides]]; OSV-Scanner reads the file in the folder of each lock file. A new Home Assistant integration has the entries for its test tools already.
[[PackageOverrides]]
name = "pillow"
version = "12.3.0"
ecosystem = "PyPI"
vulnerability.ignore = true
effectiveUntil = 2026-11-22
reason = "Home Assistant pins Pillow 12.3.0 for the tests; its next release moves it."
Then let blueprint.py write the rule of Renovate for it, and commit both files:
python3 .github/blueprint.py advisories --fix
.github/renovate-accepted.json5 then has a rule for each such version, which .github/renovate-blueprint.json5 extends: Renovate makes no update of that version in the lock files of that folder, which only the package that pins it moves. The step Accepted advisories of scripts/check.sh fails while the rules and the osv-scanner.toml files disagree, and when OSV-Scanner couldn't use a file: it ignores a whole file with a key that it doesn't know. After effectiveUntil, OSV-Scanner reports the advisories again; once the package that pins the version moves it, delete the entry. Two weeks before the date, the job dependabot alerts of the Release workflow, which runs after every push to main and every day, warns and opens the issue An acceptance of advisories in osv-scanner.toml ends soon, which names the file, the package, the version and the date, also of an ignoreUntil of [[IgnoredVulns]]: take the update that moves the version, or look at the advisories again and move the date with a reason that still holds. The issue closes by itself once no acceptance ends within two weeks, and blueprint.py advisories names such an acceptance as well. An advisory that doesn't affect the project, of a version that an update could move, goes into [[IgnoredVulns]] alone, with its id and reason, and the OpenVEX document of each release states those of the osv-scanner.toml in the root (decision 0059).
Dependabot doesn't read osv-scanner.toml either. After the merge, and every day, the job dependabot alerts of the Release workflow closes each Dependabot alert that an entry covers, as a tolerable risk with a comment that starts with Accepted in and names the file, the end and the reason; an entry of [[IgnoredVulns]] closes the alerts of its advisory once it has ignoreUntil and reason. It opens them again once the date has passed, the entry is gone or an update moved the version. When the job fails because GitHub refused the token, the app lacks the permission Dependabot alerts (read and write), as your own account shows (decision 0086). To see what it would do:
python3 .github/blueprint.py advisories --dependabot --dry-run
Renovate skips a lock file¶
What you see: a lock file such as requirements-test.txt gets no update, also none that fixes a vulnerability, and the issue Renovate logs problems lists pip-compile error for the repository. The step Lock files of scripts/check.sh fails and names the file and what Renovate stumbles on, such as --python-version without = before its value.
Why: Renovate compiles each lock file of pip-compile again with the command in its header, the line that pip-compile or uv pip compile wrote on top of it. It reads only the options that it knows, those with a value only with an = before it, and skips a file whose command it can't read, in every run and with no more than a warning in its log. uv pip compile --python-version 3.12 writes the header that way, without the =, so Renovate reads 3.12 as one more file to compile.
What to do: let blueprint.py put the = between each option and its value, and commit the lock file:
python3 .github/blueprint.py locks --fix
The header then reads uv pip compile --generate-hashes --python-version=3.12 --output-file=requirements-test.txt requirements-test.in, and Renovate keeps it so when it compiles the file. An option that Renovate doesn't know, such as --python-platform, --no-header, another output file or a source file that doesn't exist needs a person: compile the file again in its folder with the options that Renovate knows, as in the example. In a pull request of a branch of the repository, the fix bot runs locks --fix itself.
A requirements*.txt that is no lock file, such as docs/requirements.txt for Read the Docs, needs no command in its header: add it to ignorePaths in .github/renovate.json5, such as ignorePaths: ["docs/requirements.txt"], and Renovate and the step Lock files both leave it out. A name that the pattern requirements*.txt doesn't match does the same.
No commit of the diagram bot comes¶
What you see: the check diagrams of a pull request fails with Diagrams that not every reader sees and says that the diagram bot commits the files onto the branch, but no commit docs: draw the diagrams anew comes for a while.
Why: the bot runs in the job commit the diagrams of the workflow After the checks, which starts when the check diagrams has failed and then waits for a runner like any job. While Actions has a queue, such as when a plan's jobs of every repository run at once, that can take many minutes. A push in the meantime moves the branch on, and the bot then leaves it: the checks of the new head draw the diagrams again. Where the bot can't commit, it says so in a comment on the pull request: when its run fails, or when the repository names the release app in RELEASE_AUTOMATION_CLIENT_ID but has no private key of it in the environment release. Without the release app, and in a pull request from a fork, the check itself says that no bot commits.
What to do: wait for the run of After the checks, whose job commit the diagrams says in its summary what it did. Or take the files at once from the artifact diagrams of the check, or draw them with Docker, and commit what changes:
bash scripts/diagrams.sh --extract
After a comment that the bot couldn't commit, the summary of its run names what is missing, and A bot says that it needs the release app how to set it up.
The title of a pull request changed, or a file appeared in changelog.d¶
What you see: the timeline of the pull request shows that the release app changed its title, or a commit docs: draft the entry of the changelog from the title added a file of changelog.d/.
Why: the check of the title failed, and the fix bot fixed what it could from the title: its form, when the title names its own type, and a draft of the entry that a feat, fix or perf needs. See the fix bot and decision 0110.
What to do: pull the branch before you push again, read the draft, and say in its place what changes for users. To keep the bot out of a pull request, give it the label no-bot-fixes. A draft that you delete stays deleted: the check then asks for an entry again, and explains how to write one.
The refresh of the lock files waits¶
What you see: a pull request of Renovate's weekly refresh, such as chore(deps): lock file maintenance or chore(deps): refresh pip-compile outputs, doesn't merge: the check dependency-review fails at its step Check the age of what the refresh of the lock files brings, which names each version younger than a week, or each version of main that the refresh takes back, or a branch of the refresh begins with renovate/review-.
Why: the refresh merges by itself only from versions at least a week old, as every other update waits a week after its release (decision 0137). Renovate gives npm --before= a week ago, and after Renovate, python3 .github/blueprint.py locks --refresh compiles the lock files of pip-compile again from uploads a week old, keeping what main pins; a version of main younger than the week stays as it is, while the other packages keep to the week (decision 0172). A younger version comes when the project asks for one, such as the fix of a vulnerability of the last days in package.json, or when that compile failed, which the pull request shows as an artifact error of Renovate. npm's refresh resolves each range anew and can't keep a young version that main got within the range, such as the fix of a vulnerability: it replaces it with an older one, and the check holds such a refresh for as long as it does, also once the version of main is a week old, so that it doesn't take the fix back. Composer can't keep to that age, and its authors set its dates, so its refresh merges by itself on renovate/composer-lock-file-maintenance with versions of any age: the step names each of them as a version that nothing dates and lets it pass (decision 0174). The refresh of pip-compile under the Mend Renovate app, which runs no command of the blueprint, waits for you on renovate/review-lock-file-maintenance.
What to do: nothing. For a young version that the refresh adds, run the check again once each version is a week old. A refresh that takes back a version of main holds however old that version is: let Renovate build it anew on the next Monday, from the versions a week old by then, which keep the version of main; running the check again doesn't help. A refresh on renovate/review-… waits for your review: merge it when its versions are fine. A lock file whose versions the check can't date, such as a yarn.lock, gets a rule in .github/renovate.json5 that lets its refresh wait, by the name of the file, as yarn.lock belongs to Renovate's manager npm like package-lock.json:
{
matchFileNames: ["**/yarn.lock"],
matchUpdateTypes: ["lockFileMaintenance"],
additionalBranchPrefix: "review-",
automerge: false,
},
A lock file no longer matches its source¶
What you see: the step Lock files match their sources of scripts/check.sh fails and names each file and pin, such as requirements-dev.txt: no longer matches its sources: they ask for ruff==0.15.1; they no longer ask for ruff==0.14.0.
Why: pip installs a lock file as it is. A package that you add to requirements-dev.in, or a bound that you move there, reaches no install until the file is compiled again, and a package that you drop stays installed. The step has uv compile each lock file again with the command in its header, on a copy: for the Python of the header, for Linux unless the file is --universal, and on the versions that the file pins. So a new release upstream changes nothing, nor do the hashes of a pinned version: only a change of the sources moves a pin.
What to do: in a pull request of a branch of the repository, nothing: the fix bot commits the file, and on one from a fork it suggests the change. On your machine, compile each such file and commit it:
python3 .github/blueprint.py locks --compile --fix
The header of the file stays as it is, with its Python and its tool, and each pin that the sources still allow stays too. When uv finds no solution, the log shows its answer, and nothing changes: the sources contradict themselves or a package that they pin. Correct them first.
The step says so and passes for what it doesn't compare: a link, a command that Renovate can't read, which the step Lock files explains, a line that is no pin, such as --index-url, which a fix would lose, a header of uv without --python-version=, and every file when uv is missing or reaches no package index. The CI of every kind of project installs uv when the repository has a requirements*.txt.
The check renovate rules fails¶
What you see: in a pull request that changes the rules of Renovate or a lock file, the check renovate rules of the Renovate workflow fails, in a repository that runs Renovate itself (the answer renovate_runner self) and in the blueprint. Its annotations name each problem, such as Invalid configuration option for a rule, pip-compile error for a lock file, or Renovate doesn't read the lock file requirements-test.txt.; its summary and the comment of the PR coach say how to fix it.
Why: Renovate refuses every rule it doesn't know and then updates nothing in the repository, and it skips a file that it can't read in every run, with no more than a warning in its log. So the check runs the validator of Renovate on .github/renovate.json5, .github/renovate-blueprint.json5, .github/renovate-accepted.json5 and the settings of the bot in .github/renovate-global.json5, and then Renovate itself, which reads every committed file of the dependencies, without a token and without looking anything up. A warning or a lock file that it doesn't read fails the check.
What to do: correct the rule or the file that the annotations name; for a lock file, python3 .github/blueprint.py locks --fix writes its header as Renovate reads it, as Renovate skips a lock file shows. With Docker, the same checks run on your machine, the last one on the files of your last commit; the check itself runs the Renovate that .github/workflows/renovate.yml pins:
docker run --rm -v "$PWD:/usr/src/app" -w /usr/src/app ghcr.io/renovatebot/renovate:latest renovate-config-validator --strict .github/renovate.json5 .github/renovate-blueprint.json5 .github/renovate-accepted.json5
docker run --rm -v "$PWD:/usr/src/app" -w /usr/src/app -e RENOVATE_CONFIG_FILE=/usr/src/app/.github/renovate-global.json5 ghcr.io/renovatebot/renovate:latest renovate-config-validator --strict
git archive HEAD | docker run --rm -i -e LOG_LEVEL=info -e RENOVATE_GITHUB_TOKEN_WARN=false -e RENOVATE_CONFIG_FILE=/tmp/repository/.github/renovate-blueprint.json5 ghcr.io/renovatebot/renovate:latest bash -c 'mkdir /tmp/repository && cd /tmp/repository && tar -xf - && sed -i "s#\"local>[^\"]*\",\{0,1\}##" .github/renovate.json5 .github/renovate-blueprint.json5 && renovate --platform=local --dry-run=extract'
The last command takes the presets of the blueprint out of the rules, since Renovate on your machine has no platform to fetch them from; the rules of the blueprint come in as those of the bot. Its line Extracted dependencies lists every file that Renovate reads, with the lock files of each source of pip-compile under lockFiles; a line with WARN or ERROR names a problem, and after an error Renovate ends with exit code 1. On Windows, run the commands in Git Bash with MSYS_NO_PATHCONV=1 before docker, so that Git Bash leaves the paths in the container alone.
The website names a picture that git doesn't track¶
What you see: the check docs, or scripts/check.sh with the tools of the website, fails with a warning such as index.md shows https://github.com/OWNER/NAME/raw/main/screenshots/settings.png, a file that git doesn't track in the repository, so that the picture would be missing on main.
Why: a README shows its pictures from main of its own repository, so that they show wherever the README does, such as on PyPI or in the store of an app. The website serves such a picture from the checkout, so that the pull request that adds a screenshot shows it on its website too, before main has it (decision 0062). A picture that git doesn't track would be missing on main once the pull request is merged: a new screenshot that isn't committed yet, one that the pull request deletes or moves, or a typo in its address.
What to do: commit the picture, such as with git add screenshots/settings.png, or correct its address in the README. Without git, such as in a folder without its history, the website downloads the picture from main as before.
A release moves a file of the project¶
What you see: the step Files of the project of scripts/check.sh fails, usually on the pull request of a blueprint update, and names the file and what moves, such as .github/labels.toml: the labels good first issue and help wanted move to the group contribution, or .github/issue-assistant/config.toml: the hosts and the files that this project added to the issue assistant move to .github/issue-assistant/config.project.toml.
Why: an update never overwrites a file of the project, so a release that needs such a file changed brings the change as a migration of blueprint.py, which this step checks. On a branch of the repository, the fix bot commits the move by itself within minutes.
What to do: where no fix bot runs, such as with the label no-bot-fixes, run the command and commit what changes:
python3 .github/blueprint.py migrate --fix
To decline the move of a label, write a comment behind its line, such as group = "decision" # no candidates of the issue assistant, and the step leaves that label alone. A label that the file doesn't have moves nowhere either.
A file that a release of the blueprint removed is gone after the update, but a file of the project can still name it, such as the badge of a workflow in the README: README.md:9: names .github/workflows/secret-scan.yml, which a release of the blueprint removed: .github/workflows/quick-checks.yml takes its place. In a page of Markdown outside .github/, the step fails, and migrate --fix changes only the path, or the name of the workflow in the address of its page and its badge; the words of the line stay yours. A link to a tag, a commit or another repository stays, so does a path whose file the project has, and CHANGELOG.md, changelog.d/ and docs/decisions/ are never searched. Any other line, such as a comment of .github/dependency-review.yml, a workflow or a script, is a warning that fails nothing, and python3 .github/blueprint.py checklist lists it until you change it (decision 1051).
To keep the old name in a line, such as on a page about the history of the project, write blueprint: keep in a comment of that line, such as <!-- blueprint: keep -->, and the step leaves it alone.
The hosts and files of the issue assistant that a project added to config.toml, a file of the blueprint, move to the end of the lists in config.project.toml, the file of the project, each once; config.toml keeps the defaults of its kind, so that the next update changes them without a conflict. The issue assistant adds the lists of both files, so its comments link the same hosts as before, and its footers the same file (decision 0162).
A scheduled workflow didn't run¶
GitHub runs schedules as it can, often hours late and sometimes not at all, so the blueprint starts its bots from events, such as a merge into main or the end of a check, and keeps the schedules only as a safety net (decision 0033). Every night, the bot-health bot looks at the latest run of every workflow and starts one whose schedule GitHub missed or switched off, also when a push ran it since, because only a run of its schedule or one started by hand counts. The column Schedule delay of the dashboard shows how late GitHub started the scheduled runs of each repository in the last 7 days, in the median. A workflow with Run workflow under Actions starts at once by hand.