documentation.yml and compat-helper.yml read DOCUMENTER_KEY without declaring it
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start in the reusable workflows .github/workflows/documentation.yml and .github/workflows/compat-helper.yml, where secrets.DOCUMENTER_KEY is read without a workflow_call.secrets declaration, then check docs/conventions/secrets.md for the documented behaviour. The issue offers three options, so a maintainer must choose one before a patch can be written; option 1 (remove the dead references) is the smallest. Done means the workflows and the secrets doc describe the same behaviour and no caller relies on an undeclared secret.
Written by the indexing model from the issue text.
Description
documentation.yml and compat-helper.yml read secrets.DOCUMENTER_KEY:
documentation.yml:DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}in bothbuildandbuild-gpucompat-helper.yml:COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
Neither declares it under workflow_call.secrets. A reusable workflow only sees the secrets its caller passes, or all of them with secrets: inherit. No caller does either: on 2026-10-16 none of the Documentation.yml and CompatHelper.yml of CTBase, CTModels, CTParser, CTFlows, CTDirect, CTSolvers, OptimalControl, CTLie, OptimalControlProblems, CTDiffFlow, CTBenchmarks or CTAppTemplate mentions DOCUMENTER_KEY or secrets: inherit. The key is therefore always empty there.
Effect today
- Documentation: Documenter falls back to
GITHUB_TOKEN(HTTPS), and deployment works. Nothing is broken. - CompatHelper:
COMPATHELPER_PRIVis empty, so CompatHelper pushes withGITHUB_TOKEN. Pushes and PRs made withGITHUB_TOKENtrigger no workflow. Since CI is label-gated, a human adding the label still starts it, so the impact is small. But it is not what the workflow says it does.
Options
- Keep the behaviour, remove the dead references. Drop
DOCUMENTER_KEYandCOMPATHELPER_PRIVfrom both workflows and say that deployment usesGITHUB_TOKEN. One PR in CTActions, nothing in the packages. - Make the key work. Declare
DOCUMENTER_KEY(optional) underworkflow_call.secretsin both workflows, and pass it from every caller (secrets: DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}). One PR in CTActions, then one per package, or a change in the template plus a sweep. - CompatHelper through the organization's GitHub App (
control-toolbox-bot, seedocs/conventions/github-app.mdonce CTActions#99 is merged): its PRs would run CI like the prune's. That needs the App's secrets to be visible to every package and installed on all of them, which is a broader decision.
Spotted while rewriting the docs (CTActions#99, docs/conventions/secrets.md, which documents the current behaviour).
- Dominant language
- Julia
- Stars
- 1
- Forks
- 0
- Avg merge
- 1h 39m
- Merged PRs (30d)
- 45
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from control-toolbox/CTActions
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
control-toolbox/CTActions#139 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
control-toolbox/CTActions#133 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
control-toolbox/CTActions#132 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 18/100
control-toolbox/CTActions#131 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 12/100
control-toolbox/CTActions#130 ·
Maintainers usually reply within 1 day
All issues in control-toolbox/CTActions
Similar issues
-
Add project: Typst_jll.jlPossibly taken @github-actions claimed this today. Openadd-project
Difficulty 1/5 Under an hour Newbie friendliness 76/100
YDX-2147483647/best-of-typst#590 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100