Skip to content

[WIP] Add daily agentic workflow for specification updates - #5939

Merged
pelikhan merged 3 commits into
mainfrom
copilot/add-daily-specification-workflow
Dec 9, 2025
Merged

[WIP] Add daily agentic workflow for specification updates#5939
pelikhan merged 3 commits into
mainfrom
copilot/add-daily-specification-workflow

Conversation

Copilot AI commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

Workflow Layout Specification Maintainer

  • Create agentic workflow file .github/workflows/layout-spec-maintainer.md
  • Configure workflow to run daily on weekdays at 7am UTC
  • Add tools: bash (with yq), edit, create-pull-request safe-output
  • Enable cache to remember search strategies
  • Write prompt to scan lock.yml files for patterns
  • Extract file paths (actions/checkout, etc.)
  • Extract folder names (.github/workflows, pkg/workflow/js, etc.)
  • Extract artifact names (agent-output, patch, prompt, etc.)
  • Generate markdown table with name, description, context
  • Review Go and JavaScript code for pattern usage
  • Output to specs/layout.md
  • Use create-pull-request to propose updates
  • Test compilation with gh aw compile --strict
  • Create initial specs/layout.md with sample data
Original prompt

Create an agentic workflow that runs daily and maintains a specification file specs/layout.md with the full list of file paths, folder names, artifact names used in the generated lock.yml file.

  • scan for patterns of file paths , yq is available
  • use create-pull-request to create updates
  • generate markdown table with name, description, context
  • review go and javascript code for patterns
  • use cache to remember search strategies

Custom agent used: create-agentic-workflow
Design agentic workflows using GitHub Agentic Workflows (gh-aw) extension with interactive guidance on triggers, tools, and security best practices.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 9, 2025 12:08
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
toolsets: [default]
edit:
bash:
- "find .github/workflows -name '*.lock.yml'"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Use "*"

@pelikhan
pelikhan marked this pull request as ready for review December 9, 2025 12:19
@pelikhan
pelikhan merged commit 9a51d97 into main Dec 9, 2025
51 checks passed
@pelikhan
pelikhan deleted the copilot/add-daily-specification-workflow branch December 9, 2025 12:19
Copilot AI requested a review from pelikhan December 9, 2025 12:20
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.

2 participants