Getting Started with Secure Workflow
Last updated
Last updated
Copy your GitHub Actions workflow file.
Paste the content into the editor provided on the StepSecurity tool interface.
Once your workflow is uploaded, click the “Secure Workflow” button.
The tool will automatically enhance the security of your workflow by applying recommended settings:
Restrict permissions for [[GITHUB_TOKEN]].
Add a security agent for the GitHub-hosted runner.
Pin actions to full-length commit SHAs.
The tool will show a diff view of your original workflow versus the secure version.
Key enhancements include:
Adjusted permissions to follow the principle of least privilege.
Integration of the StepSecurity Harden Runner with an audit egress policy.
Pinning all GitHub Actions to specific commit SHAs for better security
After reviewing the updates, copy the secure workflow provided by the platform.
Apply the updated workflow manually to your repository by pasting it into the appropriate file in your project.