Skip to content

[BUILD]: Add commit hashes in schema-validation workflow to pin actions - #837

Merged
MacOS merged 5 commits into
SKaiNET-developers:developfrom
MacOS:schema-validation-workflow/add-commit-hashes
Jul 20, 2026
Merged

MacOS merged 5 commits into
SKaiNET-developers:developfrom
MacOS:schema-validation-workflow/add-commit-hashes

Conversation

@MacOS

@MacOS MacOS commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

This PR pins all actions in the schema-validation.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 20, 2026 06:58
@MacOS MacOS self-assigned this Jul 20, 2026
@MacOS MacOS added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Jul 20, 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 schema-validation.yml GitHub Actions workflow to pin referenced actions to specific commit SHAs (instead of tags) to improve supply-chain security and help increase the repository’s OpenSSF Scorecard score (per #815).

Changes:

  • Pin actions/checkout, actions/setup-java, actions/cache, and actions/upload-artifact to full commit SHAs in schema-validation.yml.
  • Add inline comments preserving the original version tags (e.g., # v7.0.0) for readability/auditability.

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

Comment thread .github/workflows/schema-validation.yml Outdated
Comment thread .github/workflows/schema-validation.yml Outdated
Comment thread .github/workflows/schema-validation.yml Outdated

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 no new comments.

@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 42add93 into SKaiNET-developers:develop Jul 20, 2026
7 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