Skip to content

[BUILD]: Add commit hashes in publish workflow to pin actions#834

Merged
MacOS merged 6 commits into
SKaiNET-developers:developfrom
MacOS:publish-workflow/add-commit-hashes
Jul 17, 2026
Merged

[BUILD]: Add commit hashes in publish workflow to pin actions#834
MacOS merged 6 commits into
SKaiNET-developers:developfrom
MacOS:publish-workflow/add-commit-hashes

Conversation

@MacOS

@MacOS MacOS commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

This PR pins all actions in the publish.yml workflow with their commit hash to increase security (#815).

The OpenSSF Score should increase after this PR has been merged.

@MacOS
MacOS requested review from Copilot and michalharakal July 17, 2026 10:54
@MacOS MacOS self-assigned this Jul 17, 2026
@MacOS MacOS added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Jul 17, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the security posture of the release publishing pipeline by pinning GitHub Actions used in .github/workflows/publish.yml to immutable commit SHAs, aligning with the goal of increasing the OpenSSF Score (Issue #815).

Changes:

  • Pin actions/checkout to a specific commit SHA (annotated with # v7.0.0).
  • Pin actions/setup-java to a specific commit SHA (annotated with # v5.0.0).
  • Pin artifact upload/download actions (actions/upload-artifact, actions/download-artifact) to specific commit SHAs (annotated with their versions).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michalharakal michalharakal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tnank you @MacOS

@MacOS
MacOS merged commit 45aa0c9 into SKaiNET-developers:develop Jul 17, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants