Skip to content

[BUILD]: Add commit hashes to build workflow to pin actions#816

Merged
MacOS merged 5 commits into
SKaiNET-developers:developfrom
MacOS:build-workflow/add-commit-hashes
Jul 14, 2026
Merged

[BUILD]: Add commit hashes to build workflow to pin actions#816
MacOS merged 5 commits into
SKaiNET-developers:developfrom
MacOS:build-workflow/add-commit-hashes

Conversation

@MacOS

@MacOS MacOS commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

This PR pins all actions in the build 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 14, 2026 08:40
@MacOS MacOS self-assigned this Jul 14, 2026
@MacOS MacOS added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Jul 14, 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 updates the build.yml GitHub Actions workflow to pin referenced GitHub Actions to immutable commit SHAs, aligning with issue #815’s security goal (improving OpenSSF Score by avoiding mutable tags).

Changes:

  • Pinned actions/checkout from a version tag to a commit SHA.
  • Pinned actions/setup-java from a version tag to a commit SHA.
  • Pinned actions/setup-node from a version tag to a commit SHA (but the inline version comment needs correction).

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

Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/build.yml

@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.

Thank you @MacOS

@MacOS
MacOS merged commit b05cd9f into SKaiNET-developers:develop Jul 14, 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