Skip to content

Commit 3dbc7cd

Browse files
authored
Create upgrade-agent workflow for library maintenance
Added a workflow for automated library upgrades in Node.js.
1 parent e9f65d7 commit 3dbc7cd

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/upgrade-agent.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Library Maintainer Agent
3+
trigger:
4+
issue_comment:
5+
contains: "@github-agent upgrade"
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
issues: write
10+
---
11+
12+
# Task: Dependency & Environment Upgrade
13+
You are a Senior Node.js Engineer. When triggered:
14+
1. Identify the latest LTS version of Node.js and the latest stable TypeScript.
15+
2. Update `package.json` and `package-lock.json`.
16+
3. Run `npm install` and `npm test`.
17+
4. If tests fail, analyze the error, fix the source code in `src/`, and retry.
18+
5. Once successful, open a Pull Request titled "chore: automated library upgrade".
19+
6. Summarize the changes and any breaking fixes you had to apply.

0 commit comments

Comments
 (0)