Skip to content

Ci/fix ossf scorecard startup - #66

Closed
hyperpolymath wants to merge 3 commits into
mainfrom
ci/fix-ossf-scorecard-startup
Closed

Ci/fix ossf scorecard startup#66
hyperpolymath wants to merge 3 commits into
mainfrom
ci/fix-ossf-scorecard-startup

Conversation

@hyperpolymath

@hyperpolymath hyperpolymath commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #

Type of change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (would change existing behaviour)
  • 🕳️ Soundness fix (fixes a checker/proof false-negative)
  • 📖 Documentation
  • 🧹 Refactor / tech debt (behaviour-preserving)
  • ⚡ Performance
  • 🔧 Build / CI / tooling

How has this been verified?

Checklist

  • My commits are signed (git commit -S).
  • I ran the project's own checks/tests locally and they pass.
  • New files carry the correct SPDX-License-Identifier (code/config MPL-2.0,
    prose CC-BY-SA-4.0); I did not relicense existing files.
  • Docs are updated, and no public claim now overstates what the code does.
  • I have not introduced a soundness hole (or I have flagged where I might have).

Notes for reviewers


Summary by Gitar

  • CI workflows:
    • Added explicit job-level permissions to scorecard.yml and secret-scanner.yml to fix startup failures
    • Updated reusable workflow references in scorecard.yml and secret-scanner.yml

This will update automatically on new commits.

hyperpolymath and others added 3 commits July 7, 2026 16:11
- grant secret-scanner reusable its requested job permissions
- drop invalid timeout-minutes on reusable-call jobs
- drop hashFiles() from job-level if: expressions
Fixes the OSSF Scorecard workflow, which failed at startup on every run.

**Cause:** reusable-workflow caller missing `security-events: write`+`id-token: write` (reusable perms are capped by the caller), and/or an illegal `timeout-minutes` key on a `uses:` job.

**Fix:** inject caller permissions and/or drop `timeout-minutes`. Pin preserved. Verified with actionlint. Part of an estate-wide Scorecard remediation.

🤖 Generated with Antigravity
@gitar-bot

gitar-bot Bot commented Aug 11, 2026

Copy link
Copy Markdown

Important

You are using the Gitar free plan. Upgrade to unlock code review, CI analysis, auto-apply, custom automations, and more.

Gitar

hyperpolymath added a commit that referenced this pull request Aug 11, 2026
Fixes OSSF Scorecard startup failure by:
- Updating scorecard.yml: add push trigger for main/master, update SHA
pin to d7c2271
- Updating secret-scanner.yml: update SHA pin to db12a6a, add explicit
permissions, add TruffleHog job

Supersedes #66

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>

Co-authored-by: Mistral Vibe <vibe@mistral.ai>
@hyperpolymath

Copy link
Copy Markdown
Owner Author

Closed as superseded by #67 which applies the same changes with a signed commit.

@hyperpolymath
hyperpolymath deleted the ci/fix-ossf-scorecard-startup branch August 11, 2026 23:52
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