ci: fix deploy job name expression #28
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/http-codes.nvim!28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/fix-deploy-job-name"
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?
Problem
The consolidated deploy workflow uses one publish job with a dynamic job name. On main pushes, Forgejo rendered the job as
deploy / LuaRocksinstead ofdeploy / Nightly, even though the step-levelgithub.refconditions still selected the correct publish path.Solution
Use
github.reffor the job-name expression, matching the step conditions and the runner-provided compatibility context. This keeps the one-filedeploy.yamllayout while preserving the expected rendered names.Validation:
.forgejo/workflows/*.yamlwith PyYAML via Nixgit diff --check