Check Chef Cookbook Metadata
Version updated for https://github.com/damacus/check-chef-metadata-action to version v1.0.0.
- This action is used across all versions by 3 repositories.
Action Type
This is a Node action using Node version 24.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action validates the metadata.rb file in Chef cookbooks, ensuring key fields such as maintainer, license, version, and chef_version meet predefined standards and are properly configured. It automates the detection of missing or invalid metadata, performs accessibility checks on URLs, and processes multiple cookbooks concurrently for efficiency. This action streamlines cookbook validation, enhancing compliance and consistency in Chef repositories.
Release notes
1.0.0 (2026-03-17)
⚠ BREAKING CHANGES
- Upgrade to Node24 (#677)
Features
- add annotation level support and improve annotation test coverage (#663) (8b52d8a)
- Add input validation and improve type safety (#576) (39508f9)
- metadata: Add SemVer validation for version field (87cbcc4)
- metadata: Add support for multiple supports entries and validation (4bc1441)
- metadata: Add version constraint validation for chef_version field (939f8c8)
- multi-cookbook support, robust parsing, and advanced validation (#654) (f44b38c)
- outputs: Export parsed metadata as Action outputs (f267084)
- parallel URL validation and timeouts (#658) (44735dc)
- reporting: Consolidate check runs and improve inline annotations (00307c4)
- reporting: Implement error aggregation and enhanced PR comments with line precision (46005aa)
- reporting: Refine annotation style to match Rubocop and ensure relative paths (cc3daa5)
- Upgrade to Node24 (#677) (437bd79)
- validation: Integrate new mandatory fields and error aggregation (6e696f0)
Bug Fixes
- Add missing supports field to test fixture and update dist (0dcd3cd)
- deps: update dependency @actions/github to v9 (#684) (e47d44e)
- make PR comments unique per job to avoid race conditions (a8f3ff7)
- reporting: clean up PR comment format and ensure check run summary is readable (#657) (d713034)
- reporting: ensure proper Rubocop-style annotations and consolidate check runs (0d21f7c)
- resolve test failures and remove blocking formatting check (2fe12f4)
- Restore line tracking in metadata parser and fix tests (91abc5e)
- Rubocop-style annotations and consolidated check runs (359d8c2)
- Upgrade deps and mock out Jest errors (#585) (555667b)
This PR was generated with Release Please. See documentation.