Skip to content
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

ci: Add OpenSSF Scorecard Workflow #212

Merged
merged 2 commits into from
Nov 16, 2024
Merged

ci: Add OpenSSF Scorecard Workflow #212

merged 2 commits into from
Nov 16, 2024

Conversation

JackPlowman
Copy link
Owner

Pull Request

Description

This pull request includes updates to the .github/workflows/code-checks.yml file to adjust permissions and add a new job for Scorecard Analysis. The most important changes include adding permissions to various jobs and introducing the Scorecard Analysis job.

Changes to permissions:

New job addition:

  • .github/workflows/code-checks.yml: Added a new job run-scorecard-analysis with statuses: write, security-events: write, and id-token: write permissions, and steps to checkout code, run analysis using ossf/scorecard-action, and upload results to code scanning.

Fixes #207

@JackPlowman JackPlowman requested a review from Copilot November 16, 2024 16:23

Choose a reason for hiding this comment

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

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

@github-actions github-actions bot added github_actions Pull requests that update GitHub Actions code size/S Small Pull Request labels Nov 16, 2024
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Fixed Show fixed Hide fixed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
.github/workflows/code-checks.yml Dismissed Show dismissed Hide dismissed
Copy link

sonarcloud bot commented Nov 16, 2024

@JackPlowman JackPlowman merged commit 1e35376 into main Nov 16, 2024
34 checks passed
@JackPlowman JackPlowman deleted the scorecard branch November 16, 2024 16:41
JackPlowman added a commit that referenced this pull request Nov 24, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](v1.2.0...v1.3.0)
(2024-11-24)


### 🚀 Features

* Generate Action Step Summary
([#235](#235))
([fc08252](fc08252)),
closes
[#193](#193)


### ⬆️ Dependency updates

* **github-actions:** bump the github-actions group across 1 directory
with 3 updates
([#188](#188))
([2c713ed](2c713ed))
* **python:** Bump Ruff Version to 0.8.0
([#233](#233))
([207220b](207220b))


### 🧰 Maintenance

* Add British English preference to PR template
([#185](#185))
([2d52af3](2d52af3)),
closes
[#184](#184)
* Add OpenSSF Scorecard Workflow
([#212](#212))
([1e35376](1e35376)),
closes
[#207](#207)
* Add Security Policy
([#209](#209))
([5020782](5020782)),
closes
[#208](#208)
* Add size labels to GitHub configuration
([#182](#182))
([32b8739](32b8739)),
closes
[#180](#180)
* Add size labels to pull requests
([#183](#183))
([9f1cd9e](9f1cd9e)),
closes
[#181](#181)
* Adjust PR size label thresholds
([#187](#187))
([ca918f5](ca918f5)),
closes
[#186](#186)
* Bump Poetry version
([#175](#175))
([92f71c6](92f71c6)),
closes
[#176](#176)
* Bump Ruff to 0.7.1 and reorder fix commands
([#190](#190))
([36f3e2f](36f3e2f)),
closes
[#189](#189)
* Fix Workflow Permissions
([#215](#215))
([346210c](346210c)),
closes
[#214](#214)
* Refactor GitHub Workflows
([#198](#198))
([f3e650f](f3e650f)),
closes
[#196](#196)
* Refactor Workflow Triggers
([#203](#203))
([a30513e](a30513e)),
closes
[#202](#202)
* Remove version check workflow
([#172](#172))
([e041d95](e041d95)),
closes
[#171](#171)
* Run CodeLimit
([#211](#211))
([7fb0804](7fb0804)),
closes
[#210](#210)
* Update Dependabot Schedule
([#229](#229))
([12dc40c](12dc40c)),
closes
[#230](#230)
* Update GitHub Actions Dependabot Groups
([#231](#231))
([325c323](325c323)),
closes
[#232](#232)
* Update GitHub Actions dependencies
([#177](#177))
([102cf66](102cf66)),
closes
[#178](#178)
* Update Pull Request Template
([#197](#197))
([f481858](f481858)),
closes
[#195](#195)
* Update Pull Request Title Checker
([#221](#221))
([81170d6](81170d6)),
closes
[#222](#222)
* Update Repository Labels
([#224](#224))
([c50f209](c50f209)),
closes
[#225](#225)
* Update Ruff Output
([#192](#192))
([e2655a2](e2655a2)),
closes
[#191](#191)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code size/S Small Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add OpenSSF Scorecard Workflow
1 participant