Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/scripts/plugin-update.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local function update()
vim.env.GITHUB_RUN_ID or ""
)
local lines = {
("Weekly `:Lazy update` from the [plugin update workflow](%s)."):format(run),
("`:Lazy update` from the [plugin update workflow](%s)."):format(run),
"CI installs these exact commits into empty directories and runs the smoke test; merge if it's green.",
"",
"| Plugin | Change |",
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/plugin-update.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: Plugin update

# Weekly `:Lazy update`. Commits the new lazy-lock.json to simonk/dev/plugin-update, opens or refreshes a PR,
# On-demand `:Lazy update`. Commits the new lazy-lock.json to simonk/dev/plugin-update, opens or refreshes a PR,
# and dispatches CI on it, which runs the smoke test on the new commits. On a PR that changes the updater it only
# does a dry run and shows the would-be PR body in the job summary.

on:
schedule:
- cron: "0 15 * * 1" # Mondays 15:00 UTC
workflow_dispatch:
pull_request:
paths:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The same config runs in WSL (Ubuntu 24.04):

## Updates

- **Plugins**: `.github/workflows/plugin-update.yml` runs `:Lazy update` every Monday (or on demand from the Actions tab), commits the new `lazy-lock.json` to `simonk/dev/plugin-update`, and opens or refreshes an *Update plugins* PR that links each plugin's changes. CI runs on that PR, so the smoke test covers the new commits; merge it if it's green. The workflow force-pushes the branch each week, but leaves it alone once it has a commit from anyone else, so you can push a fix to it. It needs **Allow GitHub Actions to create and approve pull requests** turned on in Settings → Actions → General.
- **Plugins**: `.github/workflows/plugin-update.yml` runs `:Lazy update` when you start it from the Actions tab, commits the new `lazy-lock.json` to `simonk/dev/plugin-update`, and opens or refreshes an *Update plugins* PR that links each plugin's changes. CI runs on that PR, so the smoke test covers the new commits; merge it if it's green. The workflow force-pushes the branch on each run, but leaves it alone once it has a commit from anyone else, so you can push a fix to it. It needs **Allow GitHub Actions to create and approve pull requests** turned on in Settings → Actions → General.
- **GitHub Actions**: Dependabot (`.github/dependabot.yml`) opens one grouped PR a month for the actions used in workflows and `.github/actions/`. It skips generated `*.lock.yml` workflows, because `gh aw compile` would overwrite its edits; refresh those with `gh aw upgrade`. Dependabot can't update lazy.nvim plugins, hence the workflow above.

## CI checks
Expand Down