chore: bump actions to resolve Node.js 20 deprecation warnings - #59
Merged
Conversation
Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com> Agent-Logs-Url: https://github.com/snapcrafters/ci/sessions/2f535909-0ff8-45a7-b0b9-c25d0d9b3cfe
Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com> Agent-Logs-Url: https://github.com/snapcrafters/ci/sessions/2f535909-0ff8-45a7-b0b9-c25d0d9b3cfe
…nap action Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com> Agent-Logs-Url: https://github.com/snapcrafters/ci/sessions/2f535909-0ff8-45a7-b0b9-c25d0d9b3cfe
Copilot
AI
changed the title
[WIP] Bump Node.js versions to address warnings
chore: bump actions to resolve Node.js 20 deprecation warnings
Mar 22, 2026
Replace the third-party JasonEtco/create-an-issue@v2 action (pinned to Node.js 20) with an inline bash step that uses yq for front-matter parsing, sed/envsubst for template rendering, and gh issue create for issue creation. All tools are pre-installed on GitHub runners. Also add test-template-render.sh for local verification of template rendering with representative environment variables. Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com> Agent-Logs-Url: https://github.com/snapcrafters/ci/sessions/13d59c85-53d0-47e4-896a-de7268bf26fd
Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com> Agent-Logs-Url: https://github.com/snapcrafters/ci/sessions/22aefc7a-631c-4f0c-933d-591d1e2957cd
jnsgruk
approved these changes
Mar 23, 2026
jnsgruk
left a comment
Member
There was a problem hiding this comment.
Tested the template rendering locally, seems to work just fine and this way we've dropped a dependency on two third-party Github Actions.
Co-authored-by: jnsgruk <668505+jnsgruk@users.noreply.github.com> Agent-Logs-Url: https://github.com/snapcrafters/ci/sessions/0154be37-ee61-4906-ad2b-ddbcb143a463
jnsgruk
approved these changes
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace the third-party
JasonEtco/create-an-issue@v2action (pinned to Node.js 20, with no node24 release planned) with an inline bash step using tools already available on GitHub runners.Changes
call-for-testing/action.yaml— ReplaceJasonEtco/create-an-issue@v2with inline bash usingyq,sed/envsubst, andgh issue createcall-for-testing/test-template-render.sh— Remove development-only test script${var//pattern/replace})Compatibility
The action output (
${{ steps.issue.outputs.number }}) is unchanged — no downstream consumer updates needed.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.