Un-ignore .github/ in release tarball to unblock Scorecard workflow checks#48
Merged
Conversation
…hecks Same root cause as the renovate.json export-ignore restored in PR #45: OpenSSF Scorecard scans the repo via GitHub's /tarball/ endpoint, which honors .gitattributes export-ignore. Excluding .github/ caused four checks (Dangerous-Workflow, Pinned-Dependencies, Token-Permissions, Packaging) to report "no workflows found" and skip with score -1 — rendered as "?" in the scorecard.dev viewer. Restoring .github/ to the tarball adds ~30-40 KB but unblocks Scorecard's validation of the workflow hardening that's already in place: SHA-pinned actions, least-privilege permissions blocks, no pull_request_target with checkout, env-hoisted user input. Projected score impact: 7.4 → ~8.7-9.0 after next scan, depending on how Packaging's heuristic evaluates our `gh release create`-based release workflow. Tracked upstream as ossf/scorecard#5069.
wnstfy
enabled auto-merge (squash)
May 22, 2026 18:07
Contributor
Trivy misconfiguration findings (HIGH + CRITICAL)✅ No HIGH or CRITICAL misconfigurations detected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Same root cause as PR #45 (renovate.json un-ignore): Scorecard scans the tarball, which honors
.gitattributes export-ignore. Excluding.github/made four checks fail to find anything to evaluate.What this unblocks
?(-1)pull_request_target+ checkout, env-hoisted user input)?(-1)helpers:pinGitHubActionDigests?(-1)permissions:block?(-1)gh release create— heuristic may or may not recognize itProjected overall: 7.4 → ~8.7-9.0 after Tuesday's scan (Dangerous-Workflow is critical weight).
Test plan
.gitattributeschange validates: one line removed, replaced with explanatory comment blockscan,misconfig,lint)branch_protection_rule/push:maintriggers) shows the 4 checks reporting actual scores