Add agentic workflow to auto-bump TCGC for http-client-csharp#10014
Add agentic workflow to auto-bump TCGC for http-client-csharp#10014
Conversation
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
| @@ -0,0 +1,98 @@ | |||
| --- | |||
There was a problem hiding this comment.
@copilot we are missing the lock file https://github.github.com/gh-aw/reference/faq/#what-is-a-workflow-lock-file
There was a problem hiding this comment.
Added the compiled lock file in 03d9e23 by running gh aw compile. This also added a .gitattributes entry to mark *.lock.yml files as linguist-generated=true merge=ours.
There was a problem hiding this comment.
@copilot what does the gitattributes addition do?
There was a problem hiding this comment.
The .gitattributes entry .github/workflows/*.lock.yml linguist-generated=true merge=ours was added automatically by gh aw compile. It does two things:
linguist-generated=true— tells GitHub's Linguist that lock files are machine-generated, so they won't count toward language statistics and will be collapsed by default in PR diffs.merge=ours— during git merges, always keeps "our" version of the lock file to prevent merge conflicts on the auto-generated content.
This entry was added by the gh aw compile tool itself, not manually.
Co-authored-by: jorgerangel-msft <102122018+jorgerangel-msft@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. 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:
|
| timeout-minutes: 30 | ||
|
|
||
| safe-outputs: | ||
| create-pull-request: |
There was a problem hiding this comment.
@jorgerangel-msft before you spend too much time on this, currently github actions in microsoft repos are not allowed to create PRs, see Timo's post in the ai discussion
There was a problem hiding this comment.
@timotheeguerin thanks for the heads up, I wasn't aware. I'll table this for now
Adds a daily GitHub Agentic Workflow that checks for new stable releases of
@azure-tools/typespec-client-generator-coreand opens a PR to upgradehttp-client-csharpwhen one is found.schedule: dailywithworkflow_dispatchfor manual runs — checks npm for the latest non-dev TCGC versionemitter:client:csharplabel before proceeding; exits without creating a new PR if one already existsdevDependenciesinpackages/http-client-csharp/package.json; exits without creating a PR if already up to date.github/prompts/upgrade-tcgc.instructions.md, which handles dependency synchronization, peer resolution, build validation, and test regenerationcreate-pull-requestonly withdraft: true,protected-files: fallback-to-issue;read-allpermissions; no explicit labels (repo applies them automatically)githubnext/agenticssamples — includesname,description,network,timeout-minutes,edit:, andbash: truebump-tcgc-csharp.lock.ymlgenerated bygh aw compile, along with a.gitattributesentry marking*.lock.ymlaslinguist-generated=true merge=oursThis replaces the manual process of filing an issue + assigning Copilot for each TCGC patch/minor bump (e.g. commits
458f881,f3bdd60).Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.