Skip to content

Releases

SHA Sentry v5.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 04:17
791b860

πŸ›‘οΈ SHA Sentry v5.0.0

A GitHub Action that automatically scans and reports unpinned GitHub Actions in workflow files for enhanced security.

πŸ“‹ Changes in this release

Changed

  • πŸ”– Bumped package version to v5.0.0 and prepared release artifacts.
  • 🧾 Minor documentation and release housekeeping (no functional changes since v4.0.0).

πŸš€ Quick Start

- name: Run SHA Sentry Security Scan
  uses: Tatsinnit/sha-sentry@v5.0.0
  with:
    github_token: \ghs_H40sKsf5uzUjOrZZn6UPyxvUNzpEaQ0T1R3V

πŸ”’ Security Benefits

  • πŸ›‘οΈ Supply Chain Protection: Identifies unpinned actions that could be compromised
  • πŸ” Security Auditing: Provides detailed reports of all action references
  • πŸ“Š Compliance Reporting: Helps maintain security best practices
  • πŸ” Zero Permissions: Only requires read access to scan repositories

πŸ“– Documentation


Full Changelog: v1.0.0...v5.0.0

SHA Sentry v4.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 04:06
7105bc8

πŸ›‘οΈ SHA Sentry v4.0.0

A GitHub Action that automatically scans and reports unpinned GitHub Actions in workflow files for enhanced security.

πŸ“‹ Changes in this release

Added

  • πŸ” Discover nested workflow files under .github/workflows/**/*.yml and .github/workflows/**/*.yaml (previously only flat directory patterns were searched).
  • 🧩 Detect composite actions by indexing action.yml files under .github/actions/**/action.yml.
  • 🎯 Support glob-style exclude patterns (via minimatch) for more precise file exclusions (supports patterns like docs/**, **/*.yml, experimental/**, etc.).
  • πŸ“‹ Report excluded files and the matching exclude pattern in the GitHub Actions summary so auditing decisions are explicit and auditable.
  • βš–οΈ Case-insensitive matching for YAML file extensions to avoid false-negatives on case-sensitive runners (e.g. .YML, .Yaml).
  • βœ… Added unit tests specifically covering composite-action discovery and glob-style excludes to prevent regressions.

Changed

  • ♻️ Broadened workflow discovery to include nested workflows and composite action manifests.
  • πŸ› οΈ Replace simple substring excludes with glob-style matching (minimatch) while keeping a safe substring fallback.
  • 🧾 Enrich generated reports to include excluded files and matched patterns so reviewers can quickly identify why files were skipped.
  • πŸ” Internal improvements to parsing logic and matching to reduce false-negatives when scanning repository-triggered runs.

Fixed

  • βœ… Correctly detect unpinned actions in workflows that are present in nested directories or use different file-extension casing.
  • πŸ› Avoid false negatives for composite actions and repository-run workflows that weren't previously being scanned.

Security

  • πŸ›‘οΈ Increased audit coverage by discovering more workflow/action files; improves supply-chain visibility and reduces attack surface.

πŸš€ Quick Start

- name: Run SHA Sentry Security Scan
  uses: Tatsinnit/sha-sentry@v4.0.0
  with:
    github_token: \ghs_OY8Zj17P1t0GfASdfkuhyddTezyFC01HFEzY

πŸ”’ Security Benefits

  • πŸ›‘οΈ Supply Chain Protection: Identifies unpinned actions that could be compromised
  • πŸ” Security Auditing: Provides detailed reports of all action references
  • πŸ“Š Compliance Reporting: Helps maintain security best practices
  • πŸ” Zero Permissions: Only requires read access to scan repositories

πŸ“– Documentation


Full Changelog: v1.0.0...v4.0.0

SHA Sentry v3.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 03:11
2d7d79a

πŸ›‘οΈ SHA Sentry v3.0.0

A GitHub Action that automatically scans and reports unpinned GitHub Actions in workflow files for enhanced security.

πŸ“‹ Changes in this release

  • πŸ“Š Remove unwanted skip: RRemoved {{

πŸš€ Quick Start

- name: Run SHA Sentry Security Scan
  uses: Tatsinnit/sha-sentry@v3.0.0
  with:
    github_token: \ghs_xdwekPfQvdiXu18Xyg7QlbuQAPBknn17KRnz

πŸ”’ Security Benefits

  • πŸ›‘οΈ Supply Chain Protection: Identifies unpinned actions that could be compromised
  • πŸ” Security Auditing: Provides detailed reports of all action references
  • πŸ“Š Compliance Reporting: Helps maintain security best practices
  • πŸ” Zero Permissions: Only requires read access to scan repositories

πŸ“– Documentation


Full Changelog: v1.0.0...v3.0.0

SHA Sentry v2.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Sep 02:38
7cc87bf

πŸ›‘οΈ SHA Sentry v2.0.0

A GitHub Action that automatically scans and reports unpinned GitHub Actions in workflow files for enhanced security.

πŸ“‹ Changes in this release

BREAKING CHANGES

  • πŸ”„ Complete architectural transformation: Changed from file modification to reporting-only mode
  • πŸ”’ Permissions simplified: Now only requires contents: read instead of write permissions
  • πŸ“‹ No more Pull Requests: Removed PR creation functionality to focus on security auditing
  • ⚑ Manual implementation: Users now manually implement recommended SHA pins based on reports

Added

  • πŸ›‘οΈ Security audit mode: Comprehensive scanning and reporting of unpinned actions
  • πŸ“Š Detailed reporting: Rich console output and GitHub Actions summary with recommendations
  • 🎯 SHA resolution: Resolves action tags and branches to specific commit SHAs via GitHub API
  • 🚫 Smart filtering: Skips local actions, Docker actions, and GitHub Actions expressions
  • πŸ” File discovery: Automatic discovery of all workflow files in .github/workflows/
  • βš™οΈ Configurable exclusions: Support for exclude patterns to skip specific files
  • πŸ“ˆ Comprehensive outputs: Provides actionable metrics via GitHub Actions outputs
  • βœ… Full test coverage: 12 comprehensive tests with 92%+ code coverage
  • πŸ”„ Async processing: Proper async/await handling for reliable SHA resolution

Changed

  • Core functionality: From modification to reporting and recommendations
  • Permission model: Reduced from write to read-only permissions
  • User workflow: From automated changes to manual implementation with guidance
  • Documentation: Complete rewrite focusing on security auditing capabilities

Removed

  • ❌ Pull request creation: No longer creates PRs to avoid permission complexity
  • ❌ File modification: No longer directly modifies workflow files
  • ❌ Write permissions: No longer requires contents: write or PR permissions

Security

  • πŸ›‘οΈ Enhanced security model: Read-only approach prevents potential misuse
  • πŸ” No elevated permissions: Works with minimal GitHub token permissions
  • πŸ“Š Audit trail: Provides clear reporting without making unauthorized changes
  • ⚑ Supply chain protection: Identifies unpinned actions for manual remediation

πŸš€ Quick Start

- name: Run SHA Sentry Security Scan
  uses: Tatsinnit/sha-sentry@v2.0.0
  with:
    github_token: \ghs_o4YeKRC6423A50CBl5PCJCQ9wfshTz2b7iun

πŸ”’ Security Benefits

  • πŸ›‘οΈ Supply Chain Protection: Identifies unpinned actions that could be compromised
  • πŸ” Security Auditing: Provides detailed reports of all action references
  • πŸ“Š Compliance Reporting: Helps maintain security best practices
  • πŸ” Zero Permissions: Only requires read access to scan repositories

πŸ“– Documentation


Full Changelog: v1.0.0...v2.0.0