Skip to content

Support template variables in assignees - #200

Merged
dblock merged 1 commit into
mainfrom
fix/110-templated-assignees
Oct 19, 2026
Merged

dblock merged 1 commit into
mainfrom
fix/110-templated-assignees

Conversation

@dblock

@dblock dblock commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Summary

Render assignees with the same Nunjucks context and filters already used for titles, bodies, and labels. Supports comma-separated front matter, YAML lists, and the workflow assignees input, retaining input precedence over front matter. Templates are rendered after YAML parsing; the README documents quoting expressions so they remain valid YAML.

Adds regression cases for both front matter forms and a templated input overriding front matter, plus documentation and a changelog entry.

Validation

  • npx tsc --noEmit
  • npm run build
  • npm test -- --runInBand (22 tests and 10 snapshots passed)

Fixes #110.

AI-authored on behalf of @dblock.

Render front matter and input assignees with the existing Nunjucks context while preserving input precedence.

Co-authored-by: Copilot <[email protected]>
@dblock
dblock merged commit c14d9ee into main Oct 19, 2026
3 checks passed
@dblock
dblock deleted the fix/110-templated-assignees branch October 19, 2026 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable to make assignee as a variable

1 participant