Add auto-recompile workflow for agentic workflow markdown files#2907
Add auto-recompile workflow for agentic workflow markdown files#2907
Conversation
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
plengauer
left a comment
There was a problem hiding this comment.
@copilot u misunderstood. Im not wanting to recompile the copilot instructions, but rather agentic workflows that are in the workflows directory as md files. They need to be recompiled with gh aw compile when the markdown files are touched
Understood! I'll update the workflow to:
Working on the fix now. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
Co-authored-by: plengauer <100447901+plengauer@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow intended to automatically recompile “agentic workflow” Markdown files (.github/workflows/*.md) into generated workflow files and then open/auto-merge a PR with the results.
Changes:
- Introduces a new workflow triggered on pushes to
mainwhen.github/workflows/*.md(or the workflow itself) changes. - Installs
gh-awand runsgh aw compileover workflow Markdown files. - Opens a PR via
peter-evans/create-pull-requestand attempts to enable squash auto-merge viagh pr merge --auto.
Adds workflow to automatically recompile agentic workflow markdown files (
.github/workflows/*.md) usinggh aw compileand auto-merge changes on main branch.Implementation
.github/workflows/*.mdfiles changegh-awextension and recompiles all markdown workflow files to.lock.ymlfiles usinggh aw compile.lock.ymlfiles in the workflows directorypeter-evans/create-pull-request@v8.1.0, enables automerge viagh pr merge --squash --autoFollows the established pattern from
refresh_demos.ymlandrenovate.ymlworkflows:ACTIONS_GITHUB_TOKENwithcontents: readpermissions for authentication.github/renovate.jsonOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.