twisterrob/GH-Lint
Run ghlint on GitHub Actions files.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| version | The version of ghlint to use. Use 'latest' to always use the latest version, may break over time. Prefer using a fixed version and use Renovate to update it, see .github/renovate.json for an example. First supported version: 0.2.0 for workflow files, 0.5.0 for action files. | — | 0.5.0 |
| location | The location of the files to lint. This will be used as the base directory for reporting (e.g. producing relative paths). Usually the repository root, so GitHub can find the files mentioned in the SARIF file. | — | ${{ github.workspace }} |
| files | Glob patterns for the files to lint. By default, all standard GitHub Actions file locations will be linted. See https://github.com/actions/toolkit/tree/main/packages/glob#patterns for format. | — | ${{ github.workspace }}/.github/workflows/*.yml ${{ github.workspace }}/.github/workflows/*.yaml ${{ github.workspace }}/**/action.yml ${{ github.workspace }}/**/action.yaml |
Outputs
| name | description |
|---|---|
| sarif-report | The absolute path of the SARIF report file. Slashes might be mixed, forward slash only on Linux. This can be used to upload the report to GitHub Code Scanning. |