Repository navigation
install Updatecli gha workflows v0.125.0 - #1
Closed
updateclibot[bot] wants to merge 29 commits into
Closed
updateclibot[bot] wants to merge 29 commits into
updateclibot[bot] wants to merge 29 commits into
Conversation
An Agent Skill, packaged as a Claude Code plugin, that creates, reviews and maintains Updatecli configurations. - init detects a repository's ecosystems and writes an updatecli-compose.yaml built from published autodiscovery policies. - audit validates and dry runs existing manifests, then reports errors, stale pins, convention findings and update scenarios nothing covers. - references/conventions.md defines the conventions both commands apply, grouped by area: file layout (F), writing manifests (M), naming (N), policies (P), Git hosting (S), labels (L), continuous integration (C) and new autodiscovery configurations (A). - The repository runs Updatecli on itself to keep its policy pins and the policy catalogue current. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Target the latest Updatecli release instead of the installed CLI. A synced local copy of the compose, manifest and policy metadata schemas serves offline and fast lookups; the updatecli.io endpoint serves the newest schema when the copy may lag. An Updatecli pipeline keeps the copy in sync with the website. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Global values for settings every policy needs, valuesinline for a few per-entry keys, and a values file for long or reused lists. Secrets follow the same rule but never go inline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pass --disable-changelog to diff and apply unless the changelog is needed, to save HTTP requests and API rate limits. Apply keeps changelogs by default, since they fill the pull request description. Limit --debug to one pipeline, filter its output, and never share it raw: it can leak tokens and private URLs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Covers the repository layout, how to add a convention, the writing guidelines, how to try a change locally, commit types and the release process. The README's development notes move there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use only what the open Agent Skills format defines: paths relative to the skill directory instead of ${CLAUDE_SKILL_DIR}, the spec's license, compatibility and metadata.version fields instead of argument-hint, routing that falls back to the user's request when no arguments are passed, and commands described as requests rather than slash commands. The README explains how to install the skill in any agent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AGENTS.md sets the rules AI agents follow when changing this repository, chief among them that the skill must work in every agent supporting the Agent Skills format. CLAUDE.md imports it for Claude Code. scripts/check-portability.sh checks the frontmatter and looks for agent-specific syntax. CONTRIBUTING.md points to both and keeps the plugin and skill versions in step. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C1 now covers a GitHub repository with no Updatecli workflow: audit reports it as info and suggests the updatecli/githubaction/scaffold policy, and init asks whether Updatecli already runs elsewhere before offering it. C1 also says how to tell the repository is on GitHub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Where the provider reads its token from the environment, write the variable to export in a comment at the top of updatecli/values.d/scm.yaml and tell the user. Never probe the environment to find which variable is set, and never override the env_token default of a published policy: Updatecli picks the variable at run time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comments the skill writes in a repository say what an entry does or why, in a line or two. Convention ids mean nothing to the repository's readers, so they stay in findings and replies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…version - Install the Updatecli GitHub workflows with the scaffold policy, authenticated with the workflow's GITHUB_TOKEN. - Bump the Updatecli version mentioned in conventions.md too, in the same pull request as the one in autodiscovery.md. - Let pull requests take the pipeline name instead of a separate title. - Name the token variable in scm.yaml and shorten the comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scaffold compose entry only acts when something runs `updatecli compose apply`, and with no workflow yet nothing does. Once the user agrees, run the pinned scaffold policy by its reference without the repository's values, so it keeps scm.enabled false and apply only writes the workflows to the working tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated locally by the updatecli/githubaction/scaffold policy, with the same version and values as its compose entry, which keeps them current. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Configure the scaffold policy as in udash: the updatecli bot's GitHub App, Udash reporting, a nightly refresh at 03:00 with a leg for monitored pipelines, and the monitor label. Go setup is left out, since this repository has no Go code. Regenerate the workflows to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A hand written pipeline that only updates its own repository writes its SCM and action kinds as literals, and no longer reads .scm.kind or wraps its SCM settings in .scm.enabled conditionals. Those stay for manifests that run against several repositories or providers, such as published policies. S1, F4 and init now point to S3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
`why <dependency>` explains why a dependency is not being updated. It finds where the dependency is pinned and what covers it, dry runs only that pipeline, and matches the outcome to a known cause: a waiting track, an age cooldown, a constraint, the crawler's scope, an indirect or new major Go module, a private cargo registry, a version minimum, or a real failure. It is read only and offers the fix afterwards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One small repository per cause in commands/why.md, each with a local manifest, the evidence Updatecli must print, and the question to ask an agent. Their outcomes do not depend on upstream releases. scripts/test-why.sh runs them in throwaway copies, checks the evidence and that the dry run changed no file. Audit skips such documented test fixtures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`upgrade` brings an existing setup in line with the Updatecli deprecations page: deprecated commands, keys and values, old policy families and stale pins. It finds them with the strict validator, the dry run warnings and a read of the files, shows each edit, and verifies that the dry run gives the same results afterwards. It never uses `updatecli manifest upgrade`, which loads no manifest in the latest release and drops comments with -i. The deprecations page is synced to references/deprecations.adoc by a new entry in updatecli-compose.yaml, and audit reports deprecated forms as warnings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One small repository per deprecated form, with the warning Updatecli must print for it, or, when no command reports it, the result an agent should give. scripts/test-why.sh becomes scripts/test-fixtures.sh and runs every fixture under tests/, with an optional run line per fixture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`add <what>` covers one more dependency, file or tool with the existing setup. It finds every pin of the dependency and what already covers it, widens a crawler's scope when that is all that is missing, and otherwise adds a published policy entry (P3) or a local pipeline that follows F1, F6, M1, M2, N2, N3, S1 to S3 and L2, with one target per pin. It then validates the result and dry runs only the new cover, which fails when a target matches nothing. `add ci` follows C1. audit points its coverage gaps to it, and why its "not covered" answer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add it to the README command table and shortcuts, the contributing guide's layout and the bug report's command list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
Made with ❤️️ by updatecli
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Updatecli to set up the Updatecli GitHub Action workflows.
Updatecli is a tool to automate configuration update across git repositories. These workflows run Updatecli on a schedule, and in dry-run mode on every pull request.
For more information:
Install Updatecli GitHub action workflows
install Updatecli gha workflow v0.125.0
1 file(s) updated with "---\nname: Updatecli\non:\n release:\n workflow_dispatch:\n schedule:\n - cron: \"0 12 */14 * *\"\npermissions: {}\njobs:\n updatecli:\n runs-on: ubuntu-latest\n steps:\n - name: \"Checkout\"\n uses: \"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\" # v7.0.1\n with:\n persist-credentials: false\n - name: \"Setup updatecli\"\n uses: \"updatecli/updatecli-action@31fd7444d8787ff461dc389ce9e89eb71a187ee3\" # v3.12.0\n with:\n version: \"v0.125.0\"\n - name: \"Run updatecli\"\n run: updatecli compose apply --clean-git-branches=true --experimental\n env:\n UPDATECLI_GITHUB_APP_CLIENT_ID: ${{ secrets.UPDATECLIBOT_APP_ID }}\n UPDATECLI_GITHUB_APP_PRIVATE_KEY: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}\n UPDATECLI_GITHUB_APP_INSTALLATION_ID: ${{ secrets.UPDATECLIBOT_APP_INSTALLATION_ID }}\n UPDATECLI_UDASH_API_URL: ${{ secrets.UPDATECLI_UDASH_API_URL }}\n UPDATECLI_UDASH_ACCESS_TOKEN: ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}\n UPDATECLI_UDASH_URL: ${{ secrets.UPDATECLI_UDASH_URL }}\n": * .github/workflows/updatecli.yaml
install Updatecli test gha workflow v0.125.0
1 file(s) updated with "---\nname: Updatecli Test\non:\n pull_request:\npermissions:\n contents: read\njobs:\n updatecli:\n runs-on: ubuntu-latest\n steps:\n - name: \"Checkout\"\n uses: \"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\" # v7.0.1\n with:\n persist-credentials: false\n - name: \"Setup updatecli\"\n uses: \"updatecli/updatecli-action@31fd7444d8787ff461dc389ce9e89eb71a187ee3\" # v3.12.0\n with:\n version: \"v0.125.0\"\n - name: \"Test updatecli in dry-run mode\"\n run: \"updatecli compose diff\"\n env:\n # This step is executed in untrusted context. We use a token with minimal permissions.\n UPDATECLI_GITHUB_USERNAME: ${{ github.actor }}\n UPDATECLI_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n": * .github/workflows/updatecli_test.yaml
install Updatecli update gha workflow v0.125.0
1 file(s) updated with "---\nname: Updatecli - Update\non:\n workflow_dispatch:\n push:\n branches:\n - main\n schedule:\n - cron: \"0 3 * * *\"\npermissions: {}\njobs:\n updatecli:\n name: \"Updatecli - ${{ matrix.target_name }}\"\n runs-on: ubuntu-latest\n strategy:\n fail-fast: false\n max-parallel: 1\n matrix:\n include:\n - target_name: \"existing pipelines\"\n apply_args: \"--existing-only=true\"\n - target_name: \"monitored pipelines\"\n apply_args: \"--labels=monitor:active\"\n steps:\n - name: \"Checkout\"\n uses: \"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\" # v7.0.1\n with:\n persist-credentials: false\n - name: \"Setup updatecli\"\n uses: \"updatecli/updatecli-action@31fd7444d8787ff461dc389ce9e89eb71a187ee3\" # v3.12.0\n with:\n version: \"v0.125.0\"\n - name: \"Run updatecli\"\n run: updatecli compose apply --clean-git-branches=true ${{ matrix.apply_args }} --experimental\n env:\n UPDATECLI_GITHUB_APP_CLIENT_ID: ${{ secrets.UPDATECLIBOT_APP_ID }}\n UPDATECLI_GITHUB_APP_PRIVATE_KEY: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}\n UPDATECLI_GITHUB_APP_INSTALLATION_ID: ${{ secrets.UPDATECLIBOT_APP_INSTALLATION_ID }}\n UPDATECLI_UDASH_API_URL: ${{ secrets.UPDATECLI_UDASH_API_URL }}\n UPDATECLI_UDASH_ACCESS_TOKEN: ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}\n UPDATECLI_UDASH_URL: ${{ secrets.UPDATECLI_UDASH_URL }}\n ## When Udash is enabled, run updatecli diff once across all pipelines after\n ## every matrix job has finished, so Udash learns about pull requests that\n ## have been merged or closed in the meantime.\n refresh:\n name: \"Updatecli - Refresh\"\n runs-on: ubuntu-latest\n needs: updatecli\n if: ${{ !cancelled() }}\n ## updatecli diff is a dry run, read access is enough\n permissions:\n contents: read\n steps:\n - name: \"Checkout\"\n uses: \"actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1\" # v7.0.1\n with:\n persist-credentials: false\n - name: \"Setup updatecli\"\n uses: \"updatecli/updatecli-action@31fd7444d8787ff461dc389ce9e89eb71a187ee3\" # v3.12.0\n with:\n version: \"v0.125.0\"\n - name: \"Refresh updatecli\"\n run: updatecli compose diff --experimental\n env:\n UPDATECLI_GITHUB_APP_CLIENT_ID: ${{ secrets.UPDATECLIBOT_APP_ID }}\n UPDATECLI_GITHUB_APP_PRIVATE_KEY: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}\n UPDATECLI_GITHUB_APP_INSTALLATION_ID: ${{ secrets.UPDATECLIBOT_APP_INSTALLATION_ID }}\n UPDATECLI_UDASH_API_URL: ${{ secrets.UPDATECLI_UDASH_API_URL }}\n UPDATECLI_UDASH_ACCESS_TOKEN: ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}\n UPDATECLI_UDASH_URL: ${{ secrets.UPDATECLI_UDASH_URL }}\n": * .github/workflows/updatecli_update.yaml
Created automatically by Updatecli
Options:
Most of Updatecli configuration is done via its manifest(s).
Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!