{"id":14965381,"url":"https://github.com/roaldnefs/salt-lint-action","last_synced_at":"2025-07-08T17:34:37.403Z","repository":{"id":47710135,"uuid":"213171308","full_name":"roaldnefs/salt-lint-action","owner":"roaldnefs","description":"GitHub Action for running salt-lint as part of your workflows!","archived":false,"fork":false,"pushed_at":"2021-08-17T06:14:17.000Z","size":18,"stargazers_count":9,"open_issues_count":1,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T04:21:46.740Z","etag":null,"topics":["github-actions","salt-lint","saltstack"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/roaldnefs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-06T13:13:43.000Z","updated_at":"2024-10-18T09:02:04.000Z","dependencies_parsed_at":"2023-01-11T17:23:03.308Z","dependency_job_id":null,"html_url":"https://github.com/roaldnefs/salt-lint-action","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"891749ef3993e132990898fb1ea495756db0634d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/roaldnefs/salt-lint-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Fsalt-lint-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Fsalt-lint-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Fsalt-lint-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Fsalt-lint-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roaldnefs","download_url":"https://codeload.github.com/roaldnefs/salt-lint-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roaldnefs%2Fsalt-lint-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264314857,"owners_count":23589664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","salt-lint","saltstack"],"created_at":"2024-09-24T13:34:40.063Z","updated_at":"2025-07-08T17:34:37.375Z","avatar_url":"https://github.com/roaldnefs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salt Lint for GitHub Action\nThis action allows you to run `salt-lint`.\n\nThe project is heavily based on [ansible-lint-action](https://github.com/ansible/ansible-lint-action), which was created by [Stefan Stölzle](/stoe) and is now maintained as part of the [Ansible](https://ansible.com/) by [Red Hat](https://redhat.com/) project.\n\n## Usage\n\nTo use the action simply add the following lines to your `.github/workflows/main.yml`.\n\n```yaml\non: [push]\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: Salt Lint Action Demo\n    steps:\n    - uses: actions/checkout@v1\n    - name: Run salt-lint\n      uses: roaldnefs/salt-lint-action@master\n      env:\n        ACTION_STATE_NAME: init.sls\n```\n\nIf you want to analyse all `^.*\\.(sls|jinja|j2|tmpl|tst)$` files in the repository and increase logs verbosity use following env values instead:\n\n```yaml\n      env:\n        ACTION_STATE_FIND_PATTERN: '^.*\\.(sls|jinja|j2|tmpl|tst)$'\n        ACTION_STATE_FIND_TYPE: 'regex'\n        SALT_LINT_EXTRA_PARAMS: '-v'\n```\n\nN.B. Use `v0.0.1` or any other valid tag, or branch, or commit SHA instead of `master` to pin the action to use a specific version.\n\n### Environment Variables\n- **ACTION_STATE_NAME**: (optional) defaults to `init.sls`\n- **ACTION_STATE_FIND_PATH**: (optional) when defined, `find` command is used for searching salt files matching a pattern defined by the ACTION_STATE_FIND_PATTERN. Both absolute and relative paths are supported.\n- **ACTION_STATE_FIND_PATTERN**: (optional) defaults to `*.sls`\n- **ACTION_STATE_FIND_TYPE**: (optional) used as parameter for find, defaults to `name`\n- **SALT_LINT_EXTRA_PARAMS**: (optional) extra parameters passed to the salt-lint command, e.g. `-v` for increased verbosity. Check `salt-lint` help for more information.\n\n## License\nThe Dockerfile and associated scripts and documentation in this project are released under the [MIT](license).\n\n## Credits\nThe GitHub action is heavily based on [ansible-lint-action](https://github.com/ansible/ansible-lint-action). The initial [ansible-lint-action](https://github.com/ansible/ansible-lint-action) has been created by [Stefan Stölzle](/stoe) at [stoe/actions](https://github.com/stoe/actions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froaldnefs%2Fsalt-lint-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froaldnefs%2Fsalt-lint-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froaldnefs%2Fsalt-lint-action/lists"}