Repository navigation
Description
Need
docs-build.yaml pins the lftools-uv release its ReadTheDocs job runs: the
lftools_version input, 0.11.0 once #119 merges. Dependabot cannot see
that value, so it never moves by itself, and every lftools-uv release has to
be raised here by hand, as #116 was.
credential-load-action had the same problem with the 1Password CLI and
solved it. Its op-cli-version-check.yaml compares the pin with the latest
release each Tuesday, raises a pull request as the lf-releng-general-bot
App and posts to Slack. Its first bump was
lfreleng-actions/credential-load-action#177, on 2026-11-24.
This issue tracks doing the same for the lftools-uv pin. It carries
no-agent until a maintainer has chosen between the options below.
Why that workflow cannot be copied here unchanged
Measured on 2026-11-24:
- The pin is in a workflow file. A GitHub App needs the
workflows
permission to commit to a file under.github/workflows/.
lf-releng-general-bothascontents,pull_requestsandissuesto
write, andactions,checksandmetadatato read; it has no
workflows. Incredential-load-actionthe pin is inaction.yaml,
whichcontentscovers. - The bot's key does not reach this repository. The organisation secret
LF_RELENG_BOT_PRIVATE_KEYis shared withcredential-load-actionand
not withdocs-workflows,rtd-build-actionoropenstack-cron-action.
LF_RELENG_BOT_CLIENT_ID,SLACK_BOT_TOKENandSLACK_CHANNEL_IDare
visible here. - A bump raised here is untested here.
testing.yamlkeeps the
ReadTheDocs legs off, andrtd-build-actiontests itself against a
stand-in foruvx, so no check anywhere runs the action against the real
lftools-uv. Moving from 0.8.0 to 0.11.0 changed the exit status lftools-uv
gives for a missing project, which the action relied on, and neither
suite could have seen it (Feat: Run lftools-uv 0.11 with pinned deps rtd-build-action#75). - The same value is pinned twice.
rtd-build-actionhas an
lftools_versiondefault of its own,0.11.0in v0.2.0, and refuses
anything older. This workflow always passes its own value, so the
action's default never applies and the two can disagree, which is what
CI: Run lftools-uv 0.11.0 for Read the Docs #116 repaired.
Options
A. Follow the action (recommended).
rtd-build-actionowns the pin. An emptylftools_versioncomes to mean
"the release this action pins"; today it means the newest release. The
pin updates itself there, inaction.yaml, with a port of
op-cli-version-check.yaml:contentsis enough, and the Slack message
and pull request look as they do for the 1Password CLI.rtd-build-actiongains a check that runs its verify and merge lanes
with the real pinned lftools-uv against a local stand-in for the Read the
Docs API, so a bump is tested before it merges.- This workflow defaults
lftools_versionto empty and keeps the input as
an override. Dependabot already raises eachrtd-build-actionrelease
here, with no cooldown.
One pin, tested where the tool runs, no workflows permission, and the
mismatch behind #116 cannot recur. It needs LF_RELENG_BOT_PRIVATE_KEY
shared with rtd-build-action.
A lighter variant keeps the pin in a requirements file inside the action
(lftools-uv[pinned]==0.11.0) for Dependabot to bump: no bot credential,
and no Slack message.
B. Copy op-cli-version-check.yaml here. Needs the workflows
permission added to lf-releng-general-bot, for every repository it is
installed on, and its key shared with this repository. The value stays
pinned in two places, and a bump still passes this repository's checks
untested.
C. A Slack reminder alone. The same weekly check without the pull
request, which is how op-cli-version-check.yaml behaves when it has no
bot credential. Needs no new permission; someone still raises the bump.
Also in scope of the decision
openstack-cron-action pins lftools-uv the same way, as the
lftools_version default in its action.yaml, so whatever
rtd-build-action gets applies there unchanged. Its install test already
runs the real tool.
Activity