Skip to content

check_env: variables of the host that a check of verify --run-check gets - #71

Merged
wfrank2509 merged 1 commit into
mainfrom
check-env
Nov 26, 2026
Merged

wfrank2509 merged 1 commit into
mainfrom
check-env

Conversation

@wfrank2509

Copy link
Copy Markdown
Member

Follow-up of #68, found while drafting the first real checks list.

A check of verify --run-check runs with a short fixed list of environment variables. A check that needs a value that differs per host (a cache path, a word list that is never in the repo) could not run at all.

  • New key check_env in AUTHORITY.md: a list of variable names. The value is the one of the host that runs the check; the repo holds no value.
  • Refused at parse: a name that is no variable name, GH_TOKEN, GITHUB_TOKEN, their enterprise forms, and every CREWBOARD_* variable.
  • A fixed value needs no key: env NAME=value <command> is a command line.

Tests: parser unit test; the component test proves that a listed variable reaches the check and an unlisted one does not.

🤖 Generated with Claude Code

A check runs with a short fixed list of variables. A project whose check
needs a value that differs per host (a cache path, a word list that is
never in the repo) could not use the runner. The owner now lists the
names in AUTHORITY.md; the values stay on the host. A token of GitHub
and a variable of crewboard are refused at parse.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@wfrank2509
wfrank2509 merged commit 19e042e into main Nov 26, 2026
4 checks passed
@wfrank2509
wfrank2509 deleted the check-env branch November 26, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant