|
64 | 64 | permissions: {} |
65 | 65 | jobs: |
66 | 66 | linter: |
67 | | - uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@666b7b6eb000db3e8614647871fa60c9f1eb7179 # 0.31.4 |
| 67 | + uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@949a3c2dfae290ecaa9f8dc9cac8825436b1fa11 # main |
68 | 68 | permissions: {} |
69 | 69 | secrets: |
70 | 70 | # Token for marking the status of linter run in the Checks section. |
@@ -115,19 +115,19 @@ jobs: |
115 | 115 |
|
116 | 116 | ### Workflow Call Inputs |
117 | 117 |
|
118 | | -| **Input** | **Description** | **Required** | **Type** | **Default** | |
119 | | -| ---------------------- | ----------------------------------------------------------------------------------------- | ------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | |
120 | | -| **`runs-on`** | JSON array of runner(s) to use. | **false** | **string** | `["ubuntu-latest"]` | |
121 | | -| | See <https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job>. | | | | |
122 | | -| **`linter-env`** | Environment variables in multilines format "key=value" to pass to the linter. | **false** | **string** | - | |
123 | | -| | See <https://github.com/super-linter/super-linter>. | | | | |
124 | | -| **`codeql-languages`** | JSON array of languages to analyze with CodeQL. | **false** | **string** | `["actions"]` | |
125 | | -| | See <https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/>. | | | | |
126 | | -| | Leave empty to disable the check. | | | | |
127 | | -| **`action-files`** | List of files or directories where GitHub Actions and workflows are located. | **false** | **string** | <!-- textlint-disable --><pre>./action.yml ./.github/workflows/\\*\\*/\\*.yml ./actions/\\*\\*/\\*.yml </pre><!-- textlint-enable --> | |
128 | | -| | Supports glob patterns. | | | | |
129 | | -| | Leave empty to disable the check. | | | | |
130 | | -| **`lint-all`** | Run checks on all files, not just the changed ones. | **false** | **boolean** | `$\{\{ github.event_name != 'pull_request' }}` | |
| 118 | +| **Input** | **Description** | **Required** | **Type** | **Default** | |
| 119 | +| ---------------------- | ----------------------------------------------------------------------------------------- | ------------ | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | |
| 120 | +| **`runs-on`** | JSON array of runner(s) to use. | **false** | **string** | `["ubuntu-latest"]` | |
| 121 | +| | See <https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job>. | | | | |
| 122 | +| **`linter-env`** | Environment variables in multilines format "key=value" to pass to the linter. | **false** | **string** | - | |
| 123 | +| | See <https://github.com/super-linter/super-linter>. | | | | |
| 124 | +| **`codeql-languages`** | JSON array of languages to analyze with CodeQL. | **false** | **string** | `["actions"]` | |
| 125 | +| | See <https://codeql.github.com/docs/codeql-overview/supported-languages-and-frameworks/>. | | | | |
| 126 | +| | Leave empty to disable the check. | | | | |
| 127 | +| **`action-files`** | List of files or directories where GitHub Actions and workflows are located. | **false** | **string** | <!-- textlint-disable --><pre lang="text">./action.yml ./.github/workflows/\*\*/\*.yml ./actions/\*\*/\*.yml</pre><!-- textlint-enable --> | |
| 128 | +| | Supports glob patterns. | | | | |
| 129 | +| | Leave empty to disable the check. | | | | |
| 130 | +| **`lint-all`** | Run checks on all files, not just the changed ones. | **false** | **boolean** | `$\{\{ github.event_name != 'pull_request' }}` | |
131 | 131 |
|
132 | 132 | <!-- inputs:end --> |
133 | 133 |
|
|
0 commit comments