Skip to content

Conversation

@SecKatie
Copy link
Owner

Summary

  • Add explicit top-level permissions blocks to all workflows to restrict default token scope (fixes 6 high-severity Token-Permissions alerts)
  • Pin all GitHub Actions to full SHA hashes instead of mutable version tags (fixes 11 medium-severity Pinned-Dependencies alerts)

Changes

Workflow Token Permissions Pinned Actions
stale.yml Already had permissions actions/stale@v10
hassfest.yml ✅ Added contents: read actions/checkout@v6, home-assistant/actions/hassfest@master
codeql.yml ✅ Added contents: read actions/checkout@v6, github/codeql-action/*@v3
auto-assign.yml ✅ Added issues: write actions/github-script@v8
HASAction.yml ✅ Added contents: read actions/checkout@v6, hacs/action@main

Test plan

  • Verify workflows still pass after merge
  • Confirm code scanning alerts are resolved after rescan

🤖 Generated with Claude Code

SecKatie and others added 2 commits December 14, 2025 03:21
… pinned dependencies

- Add explicit top-level permissions to restrict default token scope
- Pin all GitHub Actions to full SHA hashes instead of mutable version tags

This addresses the following OpenSSF Scorecard findings:
- Token-Permissions (6 high-severity alerts)
- Pinned-Dependencies (11 medium-severity alerts)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@SecKatie SecKatie merged commit 28ebf43 into master Dec 14, 2025
5 checks passed
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.

2 participants