Skip to content

Conversation

@ali-kafel
Copy link

This pull request introduces security enhancements to the CI workflow by hardening the runner and specifying permissions. The most important changes are:

Security improvements to the CI workflow:

  • Added the step-security/harden-runner action to the lint-and-test job in .github/workflows/ci.yml to block egress traffic and enforce a global allowed endpoints policy, improving runner security.
  • Explicitly set the id-token: write permission for the lint-and-test job, aligning with best practices for least privilege.

Dependency version pinning:

  • Updated the actions/checkout action to use a specific commit hash (v3.6.0) instead of a floating version, ensuring reproducibility and security.

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