Fix coverage job 403 error and update deprecated Node.js 20 actions#18
Draft
Fix coverage job 403 error and update deprecated Node.js 20 actions#18
Conversation
Co-authored-by: dhondta <9108102+dhondta@users.noreply.github.com> Agent-Logs-Url: https://github.com/dhondta/python-codext/sessions/f76524a3-0ad2-4546-8bec-73b78752543b
Copilot
AI
changed the title
[WIP] Fix error and warnings in workflows
Fix coverage job 403 error and update deprecated Node.js 20 actions
Mar 21, 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.
The
coverageCI job was failing with a 403 permission error when pushing the updated badge, and all jobs were producing deprecation warnings for Node.js 20 actions.Type
Checklist
tests/test_generated)docs/pages/enc)Description
Error fix — coverage job 403
The global workflow permissions set
contents: read, butad-m/github-push-actionneeds write access to commit the updateddocs/coverage.svg. Addedpermissions: contents: writeat the job level forcoverageonly (least-privilege).Warning fixes — deprecated Node.js 20 actions
Updated pinned action versions to Node.js 24-compatible releases (mandatory by June 2026):
actions/checkout@v3actions/checkout@v4actions/setup-python@v4actions/setup-python@v5tj-actions/verify-changed-files@v17tj-actions/verify-changed-files@v20dorny/paths-filter@v2dorny/paths-filter@v3Cosmetic fix
Removed stale
${{ matrix.python-version }}reference in thecoveragejob step name (no matrix defined there); replaced with the literal"3.13"already used in thepython-versionfield.Original prompt
💡 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.