Prefix all global workflow names with global- #69
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Personal/nixos-configuration#69
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Give every workflow injected by the global Woodpecker extension a
global-name prefix so global workflows are easy to identify and cannot be confused with repository-owned workflows.Context
Workflow names are the keys under
[workflows.*]inwoodpecker-extension.nix. The same names are referenced byrules.*.workflows,endpoints.routes[].workflows, anddepends_onin the workflow YAML. The current set mixes prefixed and unprefixed names.Renames
bun-verifyglobal-bun-verifybun-pushglobal-bun-pushbun-deployglobal-bun-deployflake-checkglobal-flake-checkrenovate-lintglobal-renovate-lintpr-reviewglobal-pr-reviewAlready compliant:
global-rust-verify,global-rust-generate-verify,global-forgejo-release.Rule names (
bun-astro,nix-flake,renovate,rust-cargo,rust-openapi) are not workflows and are out of scope here.Files to update
shared/base/modules/services/woodpecker/woodpecker-extension.nix:workflowskeys, everyrules.*.workflowsentry, andendpoints.routes[].workflows.shared/base/modules/services/woodpecker/workflows/global/bun/push.yml:depends_on.shared/base/modules/services/woodpecker/workflows/global/bun/deploy.yml:depends_on..opencode/skills/add-global-workflow/SKILL.md: examples usepr-review.Acceptance criteria
workflowsstarts withglobal-.rules.*.workflowsandendpoints.routes[].workflowsreference uses the new names.depends_oninglobal-bun-pushandglobal-bun-deployuses the new names and pipeline ordering is preserved..woodpecker/renovate-lint.yamlandwoodpecker-plugin-flake-checker.global-naming convention is documented, including theadd-global-workflowskill.Risks
pr-reviewis a likely consumer-facing name; audit bot automation and branch protection before renaming.depends_onupdate breaks the Bun workflow ordering.Related