Repository navigation
fix(ci): resolve the safely-fixable code-scanning alerts (and one live Bun policy contradiction) #18
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
fix(ci): resolve the safely-fixable code-scanning alerts (and one live Bun policy contradiction) #18
Changes from all commits
1cd20ce
a9229f6
b4c35d3
d61e791
30b5246
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,16 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # This workflow is managed by gh actions-lock. | ||
| name: OSSF Scorecard | ||
|
|
||
| on: | ||
| schedule: | ||
| - cron: '0 4 * * *' | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
| permissions: | ||
| actions: read # required by the reusable workflow (staleness check reads workflow runs) | ||
| actions: read # required by the reusable workflow (staleness check reads workflow runs) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 MEDIUM RISK The 'actions: read' permission is stripped from the 'scorecard' job because the job-level permissions block (line 20) overrides the top-level declaration (line 12) without re-declaring it. This contradicts the requirement for the reusable workflow to function correctly. |
||
| contents: read | ||
|
|
||
| jobs: | ||
| scorecard: | ||
| uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@81dbf2dd854b1444fd6236fa2352474383b2c2b9 | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 HIGH RISK
The claim that Bun is 'Tier 1' contradicts the 'BANNED' list in
.claude/CLAUDE.md. Since this PR intends to promote Bun to Tier 1 status,CLAUDE.mdshould be updated to remove Bun from the BANNED section and add it to the ALLOWED languages section to match the new CI policy.