Add GitHub Actions runtime upgrade skill#2016
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new instruction set to guide GitHub Actions “Node.js runtime deprecated” upgrades and surfaces it in the instructions catalog.
Changes:
- Added “GitHub Actions Runtime Upgrade Conventions” instruction file scoped to workflow YAMLs.
- Updated the docs instructions index to include an install link for the new instruction.
Show a summary per file
| File | Description |
|---|---|
| instructions/github-actions-runtime-upgrade-conventions.instructions.md | New instruction content and frontmatter for workflow runtime upgrade guidance. |
| docs/README.instructions.md | Adds the new instruction to the documentation list with install links. |
Copilot's findings
- Files reviewed: 2/2 changed files
- Comments generated: 1
🔒 PR Risk Scan ResultsScanned 2 changed file(s).
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Skill Validator Results
Summary
Full validator output |
aaronpowell
left a comment
There was a problem hiding this comment.
How is this skill different to having dependabot running on a repo monitoring workflows?
|
This skill helps the agent update my actions correctly. Not everyone has dependabot on in every repo |
| ## Actions We Track in This Repo | ||
|
|
||
| Prioritize runtime review for these actions when warnings appear: | ||
|
|
||
| - `actions/checkout` | ||
| - `actions/setup-dotnet` | ||
| - `actions/upload-artifact` | ||
| - `azure/login` | ||
| - `softprops/action-gh-release` |
There was a problem hiding this comment.
This might be a little too heavy handed in steering the agent from the skill. For example, why setup-dotnet and not setup-node or setup-python?
Maybe it'd be better to have it prioritise actions that are action/* (official GitHub ones), or actions/setup-* if it should scope it a bit further.
|
|
||
| ## Upgrade Rules | ||
|
|
||
| - Prefer upgrading to the latest stable **major** version of each action that is compatible with the workflow. |
There was a problem hiding this comment.
This is actually counter to our best practice advice per https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/find-and-customize-actions#using-release-management-for-your-custom-actions:
We recommend that you use a SHA value when using third-party actions. However, it's important to note Dependabot will only create Dependabot alerts for vulnerable GitHub Actions that use semantic versioning. For more information, see Secure use reference and Dependabot alerts.
The instruction should be that it looks for the latest release and then gets the SHA of that to pin, rather than a tag or branch, as both are mutable.
Summary
skills/github-actions-runtime-upgrade-conventions/SKILL.mddocs/README.skills.mdand is removed fromdocs/README.instructions.mdValidation