agentleFS
leroyguillaumeleroyguillaume/skills/renovate-ci-conventions/SKILL.md

renovate-ci-conventions

Skill7 starsChanged 5 days agoMITView on GitHub

Running Renovate self-hosted from the repository's CI: the job, its token, dry runs, the global options. TRIGGER when: creating or editing a workflow or pipeline job that runs Renovate (`renovatebot/github-action`, the `renovate/renovate` image, a `RENOVATE_*` variable); choosing between self-hosted Renovate and the Mend app; Renovate PRs arrive with no CI, or `mise.toml` updates never move; user asks how to dry-run Renovate or which token it needs. SKIP when: editing the Renovate config alone (`dependency-update-conventions`).

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never open Renovate PRs with GITHUB_TOKEN: they arrive with no CI.

    line 49
  2. Very specific:

    Never run Renovate on a repo with a mise.lock without mise in allowedUnsafeExecutions.

    line 50

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Renovate CI conventions

Self-hosted, from the repository's own CI, not the hosted Mend app: the config, the schedule and the logs stay in the repository. It is also the only option that lets you dry-run on demand.

A workflow that follows github-actions-conventions — SHA-pinned action, concurrency, least-privilege permissions, lowercase step names — plus what is specific to Renovate:

  • A dedicated RENOVATE_TOKEN, not GITHUB_TOKEN. A PR opened with GITHUB_TOKEN does not trigger other workflows, so every Renovate PR would arrive with no CI on it — which is exactly the check the whole review flow rests on. The job's own permissions stay contents: read: the token does the writing, not the workflow. A fine-grained token also needs Dependabot alerts: read, or vulnerabilityAlerts has nothing to act on.
  • A workflow_dispatch dryRun input wired to RENOVATE_DRY_RUN, and a logLevel choice input. This is what makes "dry-run a custom manager before merging it" (dependency-update-conventions) a thing somebody can actually do, rather than advice.
  • RENOVATE_ALLOWED_UNSAFE_EXECUTIONS: mise in the job's env when the repo has a mise.lock. Updating the lock runs mise lock, which Renovate refuses by default and then blocks every mise operation: neither mise.toml nor mise.lock moves, and only the log says why. It is a global option — set in renovate.json, it is ignored.

Schedule it (cron) rather than running it on push: dependency updates are not a property of a commit.

On GitLab the same run is a scheduled pipeline job with the token in a masked CI/CD variable (gitlab-ci-conventions).

Never:

  • Never open Renovate PRs with GITHUB_TOKEN: they arrive with no CI.
  • Never run Renovate on a repo with a mise.lock without mise in allowedUnsafeExecutions.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.