Skip to content

chore: onboard stepsecurity and apply security best practice#10

Open
ali-kafel wants to merge 2 commits intocirclefin:masterfrom
ali-kafel:patch-1
Open

chore: onboard stepsecurity and apply security best practice#10
ali-kafel wants to merge 2 commits intocirclefin:masterfrom
ali-kafel:patch-1

Conversation

@ali-kafel
Copy link

Summary

This pull request updates the CI workflow configuration to improve security and reliability. The main changes include hardening the GitHub Actions runner, pinning all action dependencies to specific commit SHAs, and adjusting permissions.

Detail

Security enhancements:

  • Added the step-security/harden-runner action to block unwanted egress and enforce a global allowed endpoints policy, increasing the security of the CI runner.
  • Set the id-token: write permission for the workflow, which is required for certain secure operations.

Dependency management:

  • Pinned all GitHub Actions (actions/checkout, actions/setup-node, and actions/cache) to specific commit SHAs instead of version tags, reducing the risk of supply chain attacks and ensuring reproducible builds. [1] [2]

Testing

Documentation


Requested Reviewers: @mention

stepsecurity-app bot and others added 2 commits October 30, 2025 17:43
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
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