Skip to content

[CI]: Add OpenSSF workflow#814

Merged
michalharakal merged 2 commits into
SKaiNET-developers:developfrom
MacOS:build/add-openssf-workflow
Jul 13, 2026
Merged

[CI]: Add OpenSSF workflow#814
michalharakal merged 2 commits into
SKaiNET-developers:developfrom
MacOS:build/add-openssf-workflow

Conversation

@MacOS

@MacOS MacOS commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

This PR adds the OpenSSF workflow to the CI (#813 ), and displays the reuslts in the README as a badge.

The OpenSSF workflow runs on all push and pull requests, and also weekly on Saturdays. This PR adds an important best practise for security within the FOSS community.

@MacOS
MacOS requested review from Copilot and michalharakal July 13, 2026 12:25
@MacOS MacOS self-assigned this Jul 13, 2026
@MacOS MacOS added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Jul 13, 2026
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

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

Adds an OpenSSF Scorecard GitHub Actions workflow and surfaces the score in the repository README to improve security posture visibility and integrate Scorecard results into GitHub code scanning.

Changes:

  • Add OpenSSF Scorecard workflow that runs on pushes/PRs (scoped to develop) and on a weekly schedule, producing SARIF output.
  • Upload Scorecard SARIF both as a workflow artifact and to GitHub Code Scanning.
  • Add an OpenSSF Scorecard badge to README.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
README.md Adds an OpenSSF Scorecard badge link to display the project’s Scorecard status.
.github/workflows/openssf-scorecard.yml Introduces a Scorecard workflow to generate SARIF results and publish them to artifacts and Code Scanning.

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

Comment on lines +34 to +54
permissions:
actions: read
artifact-metadata: read
attestations: read
checks: read
code-quality: read
contents: read
deployments: read
issues: read
models: read
discussions: read
packages: read
pages: read
pull-requests: read
statuses: read
vulnerability-alerts: read

# Needed for Code scanning upload
security-events: write
# Needed for GitHub OIDC token if publish_results is true
id-token: write

# This workflow generates an OpenSSF scorecard report, and uploads the report
# (i) as an artifact to the actions tab, and (ii) to GitHub's code scanning dashboard
# Note: This workflow file is a slightly adpated version of
Comment on lines +13 to +17
push:
# Only the default branch is supported.
branches:
- develop

@michalharakal
michalharakal merged commit 9e1c73b into SKaiNET-developers:develop Jul 13, 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.

4 participants