Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scottbrenner/puppet-lint-action
GitHub Action for interacting with Puppet Lint
https://github.com/scottbrenner/puppet-lint-action
github-actions hacktoberfest lint linter puppet
Last synced: about 2 hours ago
JSON representation
GitHub Action for interacting with Puppet Lint
- Host: GitHub
- URL: https://github.com/scottbrenner/puppet-lint-action
- Owner: ScottBrenner
- License: mit
- Created: 2019-07-30T03:07:01.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T21:24:28.000Z (29 days ago)
- Last Synced: 2025-02-03T21:03:30.942Z (about 19 hours ago)
- Topics: github-actions, hacktoberfest, lint, linter, puppet
- Language: Dockerfile
- Homepage: https://github.com/marketplace/actions/puppet-lint-action
- Size: 49.8 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action for Puppet Lint
This Action for [Puppet Lint](https://github.com/puppetlabs/puppet-lint) enables arbitrary actions for interacting with Puppet Lint to test Puppet code against the recommended [Puppet language style guide](https://www.puppet.com/docs/puppet/8/style_guide.html). Puppet Lint validates only code style; it does not validate syntax.
## Usage
An example workflow for testing manifests for correct Puppet style - run the `puppet-lint` command with the path to the files you want to test as `args`.
```yaml
name: Puppet Linton: [push]
jobs:
puppet-lint:runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4- name: puppet-lint
uses: scottbrenner/[email protected]
with:
args: ./
```See [Testing with Puppet Lint](https://github.com/puppetlabs/puppet-lint?tab=readme-ov-file#testing-with-puppet-lint) for full usage details.
## License
The Dockerfile and associated scripts and documentation in this project are released under the [MIT License](LICENSE).
Container images built with this project include third party materials. See [THIRD_PARTY_NOTICE.md](THIRD_PARTY_NOTICE.md) for details.