chore: call the bot-diff check by its name outside the docs
The glossary avoids gate and guard; the check is scripts/check_bot_pr_diff.py, so name it as the docs now do. Assisted-by: Claude Code
This commit is contained in:
1 parent
c438d40bbe
commit
07fb8a6d21
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
# Some patterns name paths that do not exist yet, so the file is in place before they do.
|
# Some patterns name paths that do not exist yet, so the file is in place before they do.
|
||||||
# Everything else is unowned, so role changes merge on green checks. requirements-dev.txt,
|
# Everything else is unowned, so role changes merge on green checks. requirements-dev.txt,
|
||||||
# requirements-dev.lock and requirements.yml stay unowned on purpose, so Renovate's pin
|
# requirements-dev.lock and requirements.yml stay unowned on purpose, so Renovate's pin
|
||||||
# bumps keep automerging behind the bot-diff gate.
|
# bumps keep automerging behind the bot-diff check.
|
||||||
|
|
||||||
CODEOWNERS @Defame1297
|
CODEOWNERS @Defame1297
|
||||||
\\.gitea/.* @Defame1297
|
\\.gitea/.* @Defame1297
|
||||||
|
|||||||
+1
-1
@@ -106,7 +106,7 @@
|
|||||||
"automerge": true
|
"automerge": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "The Renovate job container of renovate.yml runs with the job token: hand-bumped, never by the bot (the bot-diff gate would refuse a change to that file anyway).",
|
"description": "The Renovate job container of renovate.yml runs with the job token: hand-bumped, never by the bot (the bot-diff check would refuse a change to that file anyway).",
|
||||||
"matchFileNames": [
|
"matchFileNames": [
|
||||||
".gitea/workflows/renovate.yml"
|
".gitea/workflows/renovate.yml"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -253,7 +253,7 @@ def matrix_of(text): # noqa: C901, PLR0912, PLR0915 hand-written block-YAML re
|
|||||||
if (keys["job_image"][0] or "").strip()[:1] in "\"'":
|
if (keys["job_image"][0] or "").strip()[:1] in "\"'":
|
||||||
raise CheckError(
|
raise CheckError(
|
||||||
f"{MATRIX_FILE}: image '{name}': job_image must be written unquoted "
|
f"{MATRIX_FILE}: image '{name}': job_image must be written unquoted "
|
||||||
"(the bot-diff guard and Renovate read the plain form)"
|
"(the bot-diff check and Renovate read the plain form)"
|
||||||
)
|
)
|
||||||
matrix[name]["job_image"] = values["job_image"]
|
matrix[name]["job_image"] = values["job_image"]
|
||||||
return matrix
|
return matrix
|
||||||
|
|||||||
Reference in new issue
Block a user