mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
ci(workflows): name workflows for GitHub's lists
Every scheduled workflow opened with an alarm clock, so the Actions list read as a column of identical icons that said nothing about the run. The clock now lives in run-name behind github.event_name == 'schedule', where it marks the one thing it can mark: a run nobody triggered. The name says what the run does, in two or three words. The dispatch menu shows names in one narrow column and truncates them, so a new lint caps a workflow_dispatch name at 25 characters and points the longer, explanatory wording at run-name, which carries no such limit. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
7b5c462af2
commit
e7fadf02fe
15 files changed
+141
-27
No files matched your search
@@ -11,7 +11,7 @@ This directory holds the shell helpers that GitHub Actions workflows under [`.gi
|
||||
| [cleanup/](cleanup/) | Scheduled repository maintenance that prunes stale GitHub resources. |
|
||||
| [resolve/](resolve/) | Derivation of structured workflow inputs and outputs from repository state. |
|
||||
| [sync/](sync/) | Ref synchronization before workflow jobs derive CI scope from git history. |
|
||||
| [update/](update/) | The scheduled `Update: Versions` pipeline (version bumps and PR open/refresh). |
|
||||
| [update/](update/) | The scheduled `🔄 Update versions` pipeline (version bumps and PR open/refresh). |
|
||||
| [release/](release/) | Release-time gates that decide whether a tagged commit may be released. |
|
||||
|
||||
A new helper MUST live in the subfolder that matches its responsibility. New responsibilities MAY motivate a new subfolder, but MUST NOT flatten back into the top level.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Update Pipeline 🔄
|
||||
|
||||
Shell helpers that drive the scheduled `Update: Versions` workflow.
|
||||
Shell helpers that drive the scheduled `🔄 Update versions` workflow.
|
||||
|
||||
## Scope 📋
|
||||
|
||||
This directory contains the helpers invoked by [cron-update.yml](../../../.github/workflows/cron-update.yml) to bump pinned upstream versions and open a pull request once per day. The helpers are thin wrappers: the image-version and repository-ref bumpers delegate to Python CLIs under [cli/contributing/](../../../cli/contributing/) that scan `roles/*/meta/services.yml` and rewrite version pins in place; the PR-open helper commits, force-pushes the update branch, and creates or refreshes the PR via `gh`. Helpers MUST NOT be called from workflows other than `⏰ Update: Versions`; the `CI_ENABLE_AUTO_UPDATES` gate is enforced once, at the workflow's job level, and bypassing it from another caller would create PRs even when auto-updates are intentionally disabled.
|
||||
This directory contains the helpers invoked by [cron-update.yml](../../../.github/workflows/cron-update.yml) to bump pinned upstream versions and open a pull request once per day. The helpers are thin wrappers: the image-version and repository-ref bumpers delegate to Python CLIs under [cli/contributing/](../../../cli/contributing/) that scan `roles/*/meta/services.yml` and rewrite version pins in place; the PR-open helper commits, force-pushes the update branch, and creates or refreshes the PR via `gh`. Helpers MUST NOT be called from workflows other than `🔄 Update versions`; the `CI_ENABLE_AUTO_UPDATES` gate is enforced once, at the workflow's job level, and bypassing it from another caller would create PRs even when auto-updates are intentionally disabled.
|
||||
|
||||
Each shim MUST resolve the repository root relative to its own location so it can run from any working directory, MUST forward arguments to the underlying CLI so `--dry-run` and similar flags keep working from the shell, and MUST exit non-zero on CLI failure so the workflow surfaces the error.
|
||||
|
||||
|
||||
Reference in new issue
Block a user