Skip to content

[Hermes] Remove npm-publish.yml, add Python 3.13 to CI, harden checkout permissions#12

Merged
Coding-Dev-Tools merged 1 commit into
mainfrom
hermes/deploydiff/ci-harden
May 18, 2026
Merged

[Hermes] Remove npm-publish.yml, add Python 3.13 to CI, harden checkout permissions#12
Coding-Dev-Tools merged 1 commit into
mainfrom
hermes/deploydiff/ci-harden

Conversation

@Coding-Dev-Tools

Copy link
Copy Markdown
Owner

CI Hardening Improvements

Changes

  1. Remove npm-publish.yml — This is a Python repo with no npm package; the workflow was unnecessary.
  2. Add Python 3.13 to CI test matrix — Extends coverage from 3.10-3.12 to 3.10-3.13.
  3. Add persist-credentials: false to all actions/checkout steps in ci.yml and publish.yml — Prevents persisted credentials from leaking in subsequent steps (security best practice).
  4. Add permissions: contents: read at the top level of ci.yml — Explicitly scopes the workflow token to read-only, following least-privilege principles.

…sions

- Remove .github/workflows/npm-publish.yml (Python repo, no npm package)
- Add Python 3.13 to CI test matrix
- Add persist-credentials: false to all checkout steps
- Add permissions: contents: read to ci.yml top level
@Coding-Dev-Tools Coding-Dev-Tools merged commit 6a1c694 into main May 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant