Skip to content

Add emoji frontmatter field#32200

Merged
pelikhan merged 6 commits into
mainfrom
copilot/add-emoji-field-workflow
May 14, 2026
Merged

Add emoji frontmatter field#32200
pelikhan merged 6 commits into
mainfrom
copilot/add-emoji-field-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

Adds an optional emoji field to agentic workflow frontmatter for visual representation in listings and UI surfaces.

Changes

  • FrontmatterConfig (pkg/workflow/frontmatter_types.go) — new Emoji string field; parsed automatically via the existing JSON marshal/unmarshal path
  • Schema (pkg/parser/schemas/main_workflow_schema.json) — emoji registered as an optional string property so the additionalProperties: false validator accepts it
  • Docs (docs/src/content/docs/reference/frontmatter.md) — new ### Emoji (emoji:) section after description:

Example

---
emoji: "🤖"
name: My Workflow
on:
  issues:
    types: [opened]
---

Copilot AI and others added 2 commits May 14, 2026 19:01
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot

  • assign emoji to each agentic workflow in this repository
  • show emoji in generated ai footers

Copilot AI and others added 2 commits May 14, 2026 19:19
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot

  • assign emoji to each agentic workflow in this repository
  • show emoji in generated ai footers
    ...

Done in the latest commits:

  1. Assigned emoji to all 227 agentic workflows — each .md file in .github/workflows/ now has an emoji: frontmatter field (e.g. 🧪 for smoke/test workflows, 🔒 for security, 📊 for analytics, 📝 for docs, 🚀 for release, etc.)

  2. Emoji shown in generated AI footersGH_AW_WORKFLOW_EMOJI is now set as a job-level env var in the compiled safe_outputs job (from ParsedFrontmatter.Emoji). In messages_footer.cjs the default footer template prefixes the workflow name link with the emoji when available:

    > Generated by [🧪 Smoke CI](run_url)
    

    The {emoji} variable is also available in custom footer templates.

@pelikhan pelikhan marked this pull request as ready for review May 14, 2026 20:07
Copilot AI review requested due to automatic review settings May 14, 2026 20:07
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot merge main and recompile

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI and others added 2 commits May 14, 2026 20:16
…ld-workflow

# Conflicts:
#	.github/workflows/daily-cache-strategy-analyzer.lock.yml
#	.github/workflows/daily-fact.lock.yml
#	.github/workflows/daily-observability-report.lock.yml
#	.github/workflows/duplicate-code-detector.lock.yml
#	.github/workflows/grumpy-reviewer.lock.yml
#	.github/workflows/issue-arborist.lock.yml
#	.github/workflows/necromancer.lock.yml
#	.github/workflows/schema-feature-coverage.lock.yml
#	.github/workflows/smoke-call-workflow.lock.yml
#	.github/workflows/smoke-codex.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot merge main and recompile

Done. Merged main, fixed the emoji env var propagation (it was only reaching 70/227 workflows because ParsedFrontmatter is nil for many workflows — switched to reading directly from the raw frontmatter map via FrontmatterEmoji on WorkflowData), and recompiled all 227 workflows. All lock files now carry GH_AW_WORKFLOW_EMOJI.

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.

3 participants