Repository navigation
fix(gen): add checkout ref and mention handle concurrency to generator - #99
Conversation
The generator was missing `ref: <default_branch>` on checkout steps for triage, ci-fix, nightly, and renovate workflows — these were manually added to committed files. The mention workflow's `handle` job was also missing its concurrency group, which could allow duplicate runs. Co-Authored-By: Claude Opus 4.6 <[email protected]>
# Conflicts: # .github/workflows/tend-mention.yaml
tend-agent
left a comment
There was a problem hiding this comment.
The generator change is correct — these three workflows (triage, ci-fix, scheduled) should always check out the default branch explicitly.
However, the committed workflow files in .github/workflows/ still lack the ref: lines. This PR updates the generator but doesn't regenerate the workflows, so GitHub Actions will continue running the old versions after merge. The unchecked test plan item ("Verify tend init --dry-run produces output identical to committed workflows") confirms this gap.
Consider running uvx tend init and committing the regenerated workflows so the fix takes effect immediately on merge.
|
I had merged, but actually: is this required? isn't this the default? |
|
You're right — for |
Summary
ref: <default_branch>onactions/checkoutfor triage, ci-fix, nightly, and renovate workflows. These were previously added manually to the committed files, violating the "edit the generator, not the workflows" rule.tend-mention.yamlto pick up thehandlejob concurrency group that the generator already produces but the committed workflow was missing. This prevents duplicatehandleruns for the same issue/PR.Found during nightly survey of
.github/workflows/tend-mention.yaml.Test plan
tend init --dry-runproduces output identical to committed workflows🤖 Generated with Claude Code