Skip to content

ci: adding ossf workflow and osff/codeql badges #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

agustinfrancesa
Copy link
Contributor

No description provided.

Signed-off-by: Francesa Alfaro, Agustin <agustin.francesa.alfaro@intel.com>
@Copilot Copilot AI review requested due to automatic review settings June 17, 2025 20:22
Copy link

@Copilot Copilot AI left a comment

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 adds security and code-scanning badges to the project README and introduces a new GitHub Actions workflow for running OSSF Scorecard analysis on a weekly schedule.

  • Added OpenSSF Scorecard and CodeQL badges to README.
  • Created a scorecard-analysis.yml workflow to run and upload Scorecard results.

Reviewed Changes

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

File Description
README.md Inserted OpenSSF Scorecard and CodeQL badges above the project title
.github/workflows/scorecard-analysis.yml New workflow for weekly OSSF Scorecard analysis and SARIF uploads
Comments suppressed due to low confidence (1)

.github/workflows/scorecard-analysis.yml:25

  • Consider using a version tag (e.g., actions/checkout@v4) instead of a specific commit SHA for clearer version management and easier updates.
              uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

# Weekly on Saturdays.
- cron: '30 1 * * 6'

permissions: read-all
Copy link
Preview

Copilot AI Jun 17, 2025

Choose a reason for hiding this comment

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

Granting 'read-all' repository permissions may be overly broad; consider restricting to only the permissions required by the workflow (e.g., 'security-events' and 'id-token').

Suggested change
permissions: read-all
permissions:
security-events: write
id-token: write

Copilot uses AI. Check for mistakes.

@agustinfrancesa agustinfrancesa merged commit b726f09 into main Jun 17, 2025
13 of 19 checks passed
@agustinfrancesa agustinfrancesa deleted the feat/adding-ossf branch June 17, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant