update-github-actions-version
Update GitHub Actions Version
Update action versions in GitHub Actions workflow files, focusing on major version changes only.
Important Principles: Explanation of GitHub Actions Version Tagging System
- Using a major version number (e.g.,
v4) automatically fetches the latest minor and patch versions. - For example,
actions/checkout@v4will automatically get versions likev4.2.2,v4.3.0. - Do not update from
v4to a specific version likev4.2.2— this is unnecessary. - Only update when the major version changes (e.g., from
v5tov6).
Note: Skip
fatjyc/update-submodule-action@v6.0updates as the new version is broken.
Steps
0. Find Workflow Files
Look for files in .github/workflows/ recursively. Note that composite actions may be used — read both the composite action and the calling workflow simultaneously.
1. Check Current Versions
Analyze the action versions used in the workflow files.
2. Query Latest Versions
Query each action's latest version:
https://github.com/{owner}/{repo}/releases/latest
3. Identify Actions Needing Updates
Only update actions where the major version has changed:
- ✅ Update:
docker/build-push-action@v5→@v6 - ❌ Skip:
actions/checkout@v4→@v4.2.2
Note: Skip
fatjyc/update-submodule-action@v6.0updates as the new version is broken and v6.0 is fine.
4. Obtain Changelogs
For actions requiring updates, retrieve changelogs to understand breaking changes.
5. Update Files
Update version numbers and make adjustments for any breaking changes.
6. Commit Changes
Git add and commit your changes with a clear message indicating the updates made.
Example Illustration
✅ Correct Update
# From
uses: docker/build-push-action@v5
# Update to
uses: docker/build-push-action@v6
❌ Incorrect Update (Unnecessary)
# From
uses: actions/checkout@v4
# Incorrectly updated to
uses: actions/checkout@v4 .2 .2
✅ Correct Practice (Keep Unchanged)
# Keep unchanged
uses :actions / checkout @ v 4
GitHub will automatically use the latest v 4.x.x release
More from jim60105/copilot-prompt
chinese-content-writing-guideline
>-
234docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
140pdf
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
84rewrite-meeting-audio-transcription
Rewrite raw meeting audio transcriptions into clean, accurate meeting minutes in Traditional Chinese. Use when the user has an unprocessed audio transcription file with recognition errors and needs it cleaned up into proper meeting minutes.
26create-copilot-instructions
Create `AGENTS.md` file for a project. Use when the user wants to set up custom instructions, configure AI coding assistant behavior, or create project-specific coding guidelines for AI agents.
14drawio-diagrams-enhanced
This skill should be used when the user asks to "create a diagram", "draw a flowchart", "make a swimlane diagram", "create WBS", "generate RACI matrix", "build network diagram", "create org chart", or mentions draw.io, diagrams.net, BPMN, UML, Gantt, PERT, or project management diagrams. Integrates with next-ai-draw-io MCP server for real-time diagram creation and editing.
14