eslint-plugin-github-actions-2 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -53,79 +53,91 @@ Every exported preset already scopes itself to the intended GitHub Actions file
53
53
 
54
54
  ## Rules
55
55
 
56
- Rule matrix by preset (matches the presets docs page).
57
-
58
- | Rule | 🧩 actionMetadata | 🗂️ workflowTemplateProperties | 🧱 workflowTemplates | 🟡 recommended | 🛡️ security | 🔴 strict | 🟣 all |
59
- | --- | :-: | :-: | :-: | :-: | :-: | :-: | :-: |
60
- | [`action-name-casing`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/action-name-casing) | — | — | — | — | — | ✅ | ✅ |
61
- | [`job-id-casing`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/job-id-casing) | — | — | — | — | — | ✅ | ✅ |
62
- | [`max-jobs-per-action`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/max-jobs-per-action) | — | — | — | — | — | ✅ | ✅ |
63
- | [`no-case-insensitive-input-id-collision`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-case-insensitive-input-id-collision) | ✅ | — | — | — | — | — | ✅ |
64
- | [`no-composite-input-env-access`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-composite-input-env-access) | ✅ | — | — | — | — | — | ✅ |
65
- | [`no-deprecated-node-runtime`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-deprecated-node-runtime) | ✅ | — | — | — | — | — | ✅ |
66
- | [`no-duplicate-composite-step-id`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-duplicate-composite-step-id) | ✅ | — | — | — | — | — | ✅ |
67
- | [`no-empty-template-file-pattern`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-empty-template-file-pattern) | — | ✅ | ✅ | — | — | — | ✅ |
68
- | [`no-external-job`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-external-job) | — | — | — | — | — | ✅ | ✅ |
69
- | [`no-hardcoded-default-branch-in-template`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-hardcoded-default-branch-in-template) | — | — | ✅ | — | — | — | ✅ |
70
- | [`no-icon-file-extension-in-template-icon-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-icon-file-extension-in-template-icon-name) | | | | — | — | — | ✅ |
71
- | [`no-inherit-secrets`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-inherit-secrets) | | | — | — | ✅ | ✅ | ✅ |
72
- | [`no-invalid-concurrency-context`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-concurrency-context) | | | | ✅ | — | ✅ | ✅ |
73
- | [`no-invalid-key`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-key) | — | | | ✅ | — | ✅ | ✅ |
74
- | [`no-invalid-reusable-workflow-job-key`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-reusable-workflow-job-key) | — | | | ✅ | — | ✅ | ✅ |
75
- | [`no-invalid-template-file-pattern-regex`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-template-file-pattern-regex) | — | | | — | — | — | ✅ |
76
- | [`no-invalid-workflow-call-output-value`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-workflow-call-output-value) | — | | | ✅ | — | ✅ | ✅ |
77
- | [`no-path-separators-in-template-icon-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-path-separators-in-template-icon-name) | — | | | — | — | — | ✅ |
78
- | [`no-post-if-without-post`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-post-if-without-post) | ✅ | — | | | — | — | ✅ |
79
- | [`no-pr-head-checkout-in-pull-request-target`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-pr-head-checkout-in-pull-request-target) | — | | | — | ✅ | ✅ | ✅ |
80
- | [`no-pre-if-without-pre`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-pre-if-without-pre) | ✅ | — | | | — | — | ✅ |
81
- | [`no-required-input-with-default`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-required-input-with-default) | ✅ | — | | | — | — | ✅ |
82
- | [`no-secrets-in-if`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-secrets-in-if) | — | | | ✅ | ✅ | ✅ | ✅ |
83
- | [`no-self-hosted-runner-on-fork-pr-events`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-self-hosted-runner-on-fork-pr-events) | — | | | — | ✅ | ✅ | ✅ |
84
- | [`no-subdirectory-template-file-pattern`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-subdirectory-template-file-pattern) | — | | | — | — | — | ✅ |
85
- | [`no-template-placeholder-in-non-template-workflow`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-template-placeholder-in-non-template-workflow) | — | | | ✅ | — | ✅ | ✅ |
86
- | [`no-top-level-env`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-top-level-env) | — | | | — | — | ✅ | ✅ |
87
- | [`no-top-level-permissions`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-top-level-permissions) | — | | | — | — | — | ✅ |
88
- | [`no-universal-template-file-pattern`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-universal-template-file-pattern) | — | | | — | — | — | ✅ |
89
- | [`no-unknown-input-reference-in-composite`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unknown-input-reference-in-composite) | ✅ | — | | | — | — | ✅ |
90
- | [`no-unknown-job-output-reference`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unknown-job-output-reference) | — | | | ✅ | — | ✅ | ✅ |
91
- | [`no-unknown-step-reference`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unknown-step-reference) | — | | | — | — | ✅ | ✅ |
92
- | [`no-untrusted-input-in-run`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-untrusted-input-in-run) | — | | | — | ✅ | ✅ | ✅ |
93
- | [`no-unused-input-in-composite`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unused-input-in-composite) | ✅ | — | | | — | — | ✅ |
94
- | [`no-write-all-permissions`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-write-all-permissions) | — | | | | ✅ | ✅ | ✅ |
95
- | [`pin-action-shas`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/pin-action-shas) | — | | | — | ✅ | ✅ | ✅ |
96
- | [`prefer-action-yml`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-action-yml) | ✅ | — | | | — | — | ✅ |
97
- | [`prefer-fail-fast`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-fail-fast) | — | | | — | — | ✅ | ✅ |
98
- | [`prefer-file-extension`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-file-extension) | — | | | ✅ | — | ✅ | ✅ |
99
- | [`prefer-inputs-context`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-inputs-context) | — | | — | ✅ | — | ✅ | ✅ |
100
- | [`prefer-step-uses-style`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-step-uses-style) | — | | | — | — | — | ✅ |
101
- | [`prefer-template-yml-extension`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-template-yml-extension) | — | | | — | — | — | ✅ |
102
- | [`require-action-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-action-name) | — | | | ✅ | — | ✅ | ✅ |
103
- | [`require-action-run-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-action-run-name) | — | | | — | — | ✅ | ✅ |
104
- | [`require-checkout-before-local-action`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-checkout-before-local-action) | — | | | ✅ | — | ✅ | ✅ |
105
- | [`require-composite-step-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-composite-step-name) | ✅ | — | | | — | — | ✅ |
106
- | [`require-job-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-job-name) | — | | | | — | ✅ | ✅ |
107
- | [`require-job-step-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-job-step-name) | — | | | — | — | ✅ | ✅ |
108
- | [`require-job-timeout-minutes`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-job-timeout-minutes) | — | | | ✅ | — | ✅ | ✅ |
109
- | [`require-merge-group-trigger`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-merge-group-trigger) | — | | | — | — | ✅ | ✅ |
110
- | [`require-pull-request-target-branches`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-pull-request-target-branches) | — | | | — | ✅ | ✅ | ✅ |
111
- | [`require-run-step-shell`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-run-step-shell) | | | | — | — | ✅ | ✅ |
112
- | [`require-template-categories`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-categories) | — | | ✅ | — | — | — | ✅ |
113
- | [`require-template-file-patterns`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-file-patterns) | — | | | — | — | — | ✅ |
114
- | [`require-template-icon-file-exists`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-icon-file-exists) | — | | | — | — | — | ✅ |
115
- | [`require-template-icon-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-icon-name) | — | | | — | — | — | ✅ |
116
- | [`require-template-workflow-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-workflow-name) | — | | | — | — | — | ✅ |
117
- | [`require-trigger-types`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-trigger-types) | — | | | — | — | ✅ | ✅ |
118
- | [`require-workflow-call-input-type`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-call-input-type) | — | | | ✅ | — | ✅ | ✅ |
119
- | [`require-workflow-call-output-value`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-call-output-value) | — | | | ✅ | — | ✅ | ✅ |
120
- | [`require-workflow-concurrency`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-concurrency) | — | | | — | — | ✅ | ✅ |
121
- | [`require-workflow-dispatch-input-type`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-dispatch-input-type) | — | | | ✅ | — | ✅ | ✅ |
122
- | [`require-workflow-interface-description`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-interface-description) | — | | | — | — | ✅ | ✅ |
123
- | [`require-workflow-permissions`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-permissions) | — | | | ✅ | ✅ | ✅ | ✅ |
124
- | [`require-workflow-run-branches`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-run-branches) | — | | | — | ✅ | ✅ | ✅ |
125
- | [`require-workflow-template-pair`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-template-pair) | — | | | — | — | — | ✅ |
126
- | [`require-workflow-template-properties-pair`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-template-properties-pair) | — | | | — | — | — | ✅ |
127
- | [`valid-timeout-minutes`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/valid-timeout-minutes) | — | | | ✅ | — | ✅ | ✅ |
128
- | [`valid-trigger-events`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/valid-trigger-events) | — | | | ✅ | — | ✅ | ✅ |
56
+ Fix legend:
57
+ 🔧 = autofixable
58
+ 💡 = suggestions available
59
+ = report only
60
+
61
+ Preset key legend:
62
+ 🧩 — githubActions.configs.actionMetadata
63
+ 🗂️ — githubActions.configs.workflowTemplateProperties
64
+ 🧱 — githubActions.configs.workflowTemplates
65
+ 🟡 — githubActions.configs.recommended
66
+ 🛡️ — githubActions.configs.security
67
+ 🔴 — githubActions.configs.strict
68
+ 🟣 — githubActions.configs.all
69
+
70
+ | Rule | Fix | Preset key |
71
+ | --- | :-: | --- |
72
+ | <span class="sb-inline-rule-number">R009</span> [`action-name-casing`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/action-name-casing) | 🔧 | 🟣 🔴 |
73
+ | <span class="sb-inline-rule-number">R010</span> [`job-id-casing`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/job-id-casing) | — | 🟣 🔴 |
74
+ | <span class="sb-inline-rule-number">R011</span> [`max-jobs-per-action`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/max-jobs-per-action) | — | 🟣 🔴 |
75
+ | <span class="sb-inline-rule-number">R048</span> [`no-case-insensitive-input-id-collision`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-case-insensitive-input-id-collision) | — | 🧩 🟣 |
76
+ | <span class="sb-inline-rule-number">R049</span> [`no-composite-input-env-access`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-composite-input-env-access) | — | 🧩 🟣 |
77
+ | <span class="sb-inline-rule-number">R044</span> [`no-deprecated-node-runtime`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-deprecated-node-runtime) | — | 🧩 🟣 |
78
+ | <span class="sb-inline-rule-number">R051</span> [`no-duplicate-composite-step-id`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-duplicate-composite-step-id) | — | 🧩 🟣 |
79
+ | <span class="sb-inline-rule-number">R060</span> [`no-empty-template-file-pattern`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-empty-template-file-pattern) | — | 🗂️ 🧱 🟣 |
80
+ | <span class="sb-inline-rule-number">R012</span> [`no-external-job`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-external-job) | — | 🟣 🔴 |
81
+ | <span class="sb-inline-rule-number">R068</span> [`no-hardcoded-default-branch-in-template`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-hardcoded-default-branch-in-template) | — | 🧱 🟣 |
82
+ | <span class="sb-inline-rule-number">R063</span> [`no-icon-file-extension-in-template-icon-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-icon-file-extension-in-template-icon-name) | — | 🗂️ 🧱 🟣 |
83
+ | <span class="sb-inline-rule-number">R026</span> [`no-inherit-secrets`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-inherit-secrets) | — | 🟣 🛡️ 🔴 |
84
+ | <span class="sb-inline-rule-number">R042</span> [`no-invalid-concurrency-context`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-concurrency-context) | — | 🟣 🟡 🔴 |
85
+ | <span class="sb-inline-rule-number">R019</span> [`no-invalid-key`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-key) | — | 🟣 🟡 🔴 |
86
+ | <span class="sb-inline-rule-number">R041</span> [`no-invalid-reusable-workflow-job-key`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-reusable-workflow-job-key) | — | 🟣 🟡 🔴 |
87
+ | <span class="sb-inline-rule-number">R059</span> [`no-invalid-template-file-pattern-regex`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-template-file-pattern-regex) | — | 🗂️ 🧱 🟣 |
88
+ | <span class="sb-inline-rule-number">R040</span> [`no-invalid-workflow-call-output-value`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-invalid-workflow-call-output-value) | — | 🟣 🟡 🔴 |
89
+ | <span class="sb-inline-rule-number">R064</span> [`no-path-separators-in-template-icon-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-path-separators-in-template-icon-name) | — | 🗂️ 🧱 🟣 |
90
+ | <span class="sb-inline-rule-number">R046</span> [`no-post-if-without-post`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-post-if-without-post) | — | 🧩 🟣 |
91
+ | <span class="sb-inline-rule-number">R030</span> [`no-pr-head-checkout-in-pull-request-target`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-pr-head-checkout-in-pull-request-target) | — | 🟣 🛡️ 🔴 |
92
+ | <span class="sb-inline-rule-number">R045</span> [`no-pre-if-without-pre`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-pre-if-without-pre) | — | 🧩 🟣 |
93
+ | <span class="sb-inline-rule-number">R047</span> [`no-required-input-with-default`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-required-input-with-default) | — | 🧩 🟣 |
94
+ | <span class="sb-inline-rule-number">R027</span> [`no-secrets-in-if`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-secrets-in-if) | — | 🟣 🟡 🛡️ 🔴 |
95
+ | <span class="sb-inline-rule-number">R036</span> [`no-self-hosted-runner-on-fork-pr-events`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-self-hosted-runner-on-fork-pr-events) | — | 🟣 🛡️ 🔴 |
96
+ | <span class="sb-inline-rule-number">R062</span> [`no-subdirectory-template-file-pattern`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-subdirectory-template-file-pattern) | — | 🗂️ 🧱 🟣 |
97
+ | <span class="sb-inline-rule-number">R069</span> [`no-template-placeholder-in-non-template-workflow`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-template-placeholder-in-non-template-workflow) | — | 🟡 🔴 🟣 |
98
+ | <span class="sb-inline-rule-number">R013</span> [`no-top-level-env`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-top-level-env) | — | 🟣 🔴 |
99
+ | <span class="sb-inline-rule-number">R014</span> [`no-top-level-permissions`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-top-level-permissions) | — | 🟣 |
100
+ | <span class="sb-inline-rule-number">R061</span> [`no-universal-template-file-pattern`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-universal-template-file-pattern) | — | 🗂️ 🧱 🟣 |
101
+ | <span class="sb-inline-rule-number">R050</span> [`no-unknown-input-reference-in-composite`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unknown-input-reference-in-composite) | — | 🧩 🟣 |
102
+ | <span class="sb-inline-rule-number">R037</span> [`no-unknown-job-output-reference`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unknown-job-output-reference) | — | 🟣 🟡 🔴 |
103
+ | <span class="sb-inline-rule-number">R038</span> [`no-unknown-step-reference`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unknown-step-reference) | — | 🟣 🔴 |
104
+ | <span class="sb-inline-rule-number">R029</span> [`no-untrusted-input-in-run`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-untrusted-input-in-run) | — | 🟣 🛡️ 🔴 |
105
+ | <span class="sb-inline-rule-number">R053</span> [`no-unused-input-in-composite`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-unused-input-in-composite) | — | 🧩 🟣 |
106
+ | <span class="sb-inline-rule-number">R023</span> [`no-write-all-permissions`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/no-write-all-permissions) | — | 🟣 🟡 🛡️ 🔴 |
107
+ | <span class="sb-inline-rule-number">R003</span> [`pin-action-shas`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/pin-action-shas) | — | 🟣 🛡️ 🔴 |
108
+ | <span class="sb-inline-rule-number">R043</span> [`prefer-action-yml`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-action-yml) | — | 🧩 🟣 |
109
+ | <span class="sb-inline-rule-number">R015</span> [`prefer-fail-fast`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-fail-fast) | — | 🟣 🔴 |
110
+ | <span class="sb-inline-rule-number">R020</span> [`prefer-file-extension`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-file-extension) | — | 🟣 🟡 🔴 |
111
+ | <span class="sb-inline-rule-number">R033</span> [`prefer-inputs-context`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-inputs-context) | 🔧 | 🟣 🟡 🔴 |
112
+ | <span class="sb-inline-rule-number">R016</span> [`prefer-step-uses-style`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-step-uses-style) | — | 🟣 |
113
+ | <span class="sb-inline-rule-number">R066</span> [`prefer-template-yml-extension`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/prefer-template-yml-extension) | — | 🧱 🟣 |
114
+ | <span class="sb-inline-rule-number">R005</span> [`require-action-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-action-name) | — | 🟣 🟡 🔴 |
115
+ | <span class="sb-inline-rule-number">R006</span> [`require-action-run-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-action-run-name) | — | 🟣 🔴 |
116
+ | <span class="sb-inline-rule-number">R025</span> [`require-checkout-before-local-action`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-checkout-before-local-action) | — | 🟣 🟡 🔴 |
117
+ | <span class="sb-inline-rule-number">R052</span> [`require-composite-step-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-composite-step-name) | — | 🧩 🟣 |
118
+ | <span class="sb-inline-rule-number">R007</span> [`require-job-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-job-name) | — | 🟣 🔴 |
119
+ | <span class="sb-inline-rule-number">R008</span> [`require-job-step-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-job-step-name) | — | 🟣 🔴 |
120
+ | <span class="sb-inline-rule-number">R002</span> [`require-job-timeout-minutes`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-job-timeout-minutes) | — | 🟣 🟡 🔴 |
121
+ | <span class="sb-inline-rule-number">R035</span> [`require-merge-group-trigger`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-merge-group-trigger) | — | 🟣 🔴 |
122
+ | <span class="sb-inline-rule-number">R032</span> [`require-pull-request-target-branches`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-pull-request-target-branches) | — | 🟣 🛡️ 🔴 |
123
+ | <span class="sb-inline-rule-number">R021</span> [`require-run-step-shell`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-run-step-shell) | — | 🟣 🔴 |
124
+ | <span class="sb-inline-rule-number">R057</span> [`require-template-categories`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-categories) | — | 🗂️ 🧱 🟣 |
125
+ | <span class="sb-inline-rule-number">R058</span> [`require-template-file-patterns`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-file-patterns) | — | 🗂️ 🧱 🟣 |
126
+ | <span class="sb-inline-rule-number">R065</span> [`require-template-icon-file-exists`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-icon-file-exists) | — | 🗂️ 🧱 🟣 |
127
+ | <span class="sb-inline-rule-number">R056</span> [`require-template-icon-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-icon-name) | — | 🗂️ 🧱 🟣 |
128
+ | <span class="sb-inline-rule-number">R067</span> [`require-template-workflow-name`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-template-workflow-name) | — | 🧱 🟣 |
129
+ | <span class="sb-inline-rule-number">R031</span> [`require-trigger-types`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-trigger-types) | — | 🟣 🔴 |
130
+ | <span class="sb-inline-rule-number">R034</span> [`require-workflow-call-input-type`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-call-input-type) | — | 🟣 🟡 🔴 |
131
+ | <span class="sb-inline-rule-number">R039</span> [`require-workflow-call-output-value`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-call-output-value) | — | 🟣 🟡 🔴 |
132
+ | <span class="sb-inline-rule-number">R004</span> [`require-workflow-concurrency`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-concurrency) | — | 🟣 🔴 |
133
+ | <span class="sb-inline-rule-number">R022</span> [`require-workflow-dispatch-input-type`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-dispatch-input-type) | — | 🟣 🟡 🔴 |
134
+ | <span class="sb-inline-rule-number">R024</span> [`require-workflow-interface-description`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-interface-description) | — | 🟣 🔴 |
135
+ | <span class="sb-inline-rule-number">R001</span> [`require-workflow-permissions`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-permissions) | — | 🟣 🟡 🛡️ 🔴 |
136
+ | <span class="sb-inline-rule-number">R028</span> [`require-workflow-run-branches`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-run-branches) | — | 🟣 🛡️ 🔴 |
137
+ | <span class="sb-inline-rule-number">R054</span> [`require-workflow-template-pair`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-template-pair) | — | 🧱 🟣 |
138
+ | <span class="sb-inline-rule-number">R055</span> [`require-workflow-template-properties-pair`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/require-workflow-template-properties-pair) | — | 🗂️ 🧱 🟣 |
139
+ | <span class="sb-inline-rule-number">R017</span> [`valid-timeout-minutes`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/valid-timeout-minutes) | — | 🟣 🟡 🔴 |
140
+ | <span class="sb-inline-rule-number">R018</span> [`valid-trigger-events`](https://nick2bad4u.github.io/eslint-plugin-github-actions-2/docs/rules/valid-trigger-events) | — | 🟣 🟡 🔴 |
129
141
 
130
142
  ## Example
131
143
 
package/dist/plugin.cjs CHANGED
@@ -39,7 +39,7 @@ var yamlParser = __toESM(require("yaml-eslint-parser"), 1);
39
39
  var package_default = {
40
40
  $schema: "https://www.schemastore.org/package.json",
41
41
  name: "eslint-plugin-github-actions-2",
42
- version: "1.0.0",
42
+ version: "1.0.2",
43
43
  private: false,
44
44
  description: "ESLint plugin for GitHub Actions workflow quality, reliability, and security rules.",
45
45
  keywords: [
@@ -183,7 +183,7 @@ var package_default = {
183
183
  "@csstools/stylelint-formatter-github": "^2.0.0",
184
184
  "@docusaurus/eslint-plugin": "^3.9.2",
185
185
  "@double-great/remark-lint-alt-text": "^1.1.1",
186
- "@double-great/stylelint-a11y": "^3.4.6",
186
+ "@double-great/stylelint-a11y": "^3.4.7",
187
187
  "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
188
188
  "@eslint-react/eslint-plugin": "^3.0.0",
189
189
  "@eslint/compat": "^2.0.3",
@@ -233,12 +233,12 @@ var package_default = {
233
233
  "@types/postcss-normalize": "^9.0.4",
234
234
  "@types/postcss-reporter": "^7.0.5",
235
235
  "@types/sloc": "^0.2.3",
236
- "@typescript-eslint/eslint-plugin": "^8.57.1",
237
- "@typescript-eslint/parser": "^8.57.1",
238
- "@typescript-eslint/rule-tester": "^8.57.1",
239
- "@vitest/coverage-v8": "^4.1.0",
240
- "@vitest/eslint-plugin": "^1.6.12",
241
- "@vitest/ui": "^4.1.0",
236
+ "@typescript-eslint/eslint-plugin": "^8.57.2",
237
+ "@typescript-eslint/parser": "^8.57.2",
238
+ "@typescript-eslint/rule-tester": "^8.57.2",
239
+ "@vitest/coverage-v8": "^4.1.1",
240
+ "@vitest/eslint-plugin": "^1.6.13",
241
+ "@vitest/ui": "^4.1.1",
242
242
  actionlint: "^2.0.6",
243
243
  "all-contributors-cli": "^6.26.1",
244
244
  "cognitive-complexity-ts": "^0.8.1",
@@ -248,7 +248,7 @@ var package_default = {
248
248
  depcheck: "^1.4.7",
249
249
  "detect-secrets": "^1.0.6",
250
250
  eslint: "^10.1.0",
251
- "eslint-config-flat-gitignore": "^2.2.1",
251
+ "eslint-config-flat-gitignore": "^2.3.0",
252
252
  "eslint-config-prettier": "^10.1.8",
253
253
  "eslint-formatter-unix": "^9.0.1",
254
254
  "eslint-import-resolver-typescript": "^4.4.4",
@@ -294,7 +294,7 @@ var package_default = {
294
294
  "eslint-plugin-security": "^4.0.0",
295
295
  "eslint-plugin-sonarjs": "^4.0.2",
296
296
  "eslint-plugin-sort-class-members": "^1.21.0",
297
- "eslint-plugin-testing-library": "^7.16.1",
297
+ "eslint-plugin-testing-library": "^7.16.2",
298
298
  "eslint-plugin-toml": "^1.3.1",
299
299
  "eslint-plugin-total-functions": "^7.1.0",
300
300
  "eslint-plugin-tsdoc": "^0.5.2",
@@ -311,7 +311,7 @@ var package_default = {
311
311
  htmlhint: "^1.9.2",
312
312
  jscpd: "^4.0.8",
313
313
  "jsonc-eslint-parser": "^3.1.0",
314
- knip: "^6.0.1",
314
+ knip: "^6.0.5",
315
315
  leasot: "^14.4.0",
316
316
  madge: "^8.0.0",
317
317
  "markdown-link-check": "^3.14.2",
@@ -331,7 +331,7 @@ var package_default = {
331
331
  "postcss-reporter": "^7.1.0",
332
332
  "postcss-round-subpixels": "^2.0.0",
333
333
  "postcss-scss": "^4.0.9",
334
- "postcss-sort-media-queries": "^6.3.2",
334
+ "postcss-sort-media-queries": "^6.3.3",
335
335
  "postcss-styled-jsx": "^1.0.1",
336
336
  "postcss-styled-syntax": "^0.7.1",
337
337
  "postcss-viewport-height-correction": "^1.1.1",
@@ -464,7 +464,7 @@ var package_default = {
464
464
  "stylelint-codeframe-formatter": "^1.2.0",
465
465
  "stylelint-config-alphabetical-order": "^2.0.0",
466
466
  "stylelint-config-idiomatic-order": "^10.0.0",
467
- "stylelint-config-inspector": "^2.0.2",
467
+ "stylelint-config-inspector": "^2.0.3",
468
468
  "stylelint-config-recess-order": "^7.7.0",
469
469
  "stylelint-config-recommended": "^18.0.0",
470
470
  "stylelint-config-sass-guidelines": "^13.0.0",
@@ -489,7 +489,7 @@ var package_default = {
489
489
  "stylelint-order": "^8.1.1",
490
490
  "stylelint-plugin-defensive-css": "^2.8.0",
491
491
  "stylelint-plugin-logical-css": "^2.0.2",
492
- "stylelint-plugin-use-baseline": "^1.4.0",
492
+ "stylelint-plugin-use-baseline": "^1.4.1",
493
493
  "stylelint-prettier": "^5.0.3",
494
494
  "stylelint-react-native": "^2.7.0",
495
495
  "stylelint-scales": "^5.0.0",
@@ -498,14 +498,14 @@ var package_default = {
498
498
  "stylelint-value-no-unknown-custom-properties": "^6.1.1",
499
499
  "toml-eslint-parser": "^1.0.3",
500
500
  "ts-unused-exports": "^11.0.1",
501
- typedoc: "^0.28.17",
502
- typescript: "^5.9.3",
503
- "typescript-eslint": "^8.57.1",
501
+ typedoc: "^0.28.18",
502
+ typescript: "^6.0.2",
503
+ "typescript-eslint": "^8.57.2",
504
504
  typesync: "^0.14.3",
505
505
  vfile: "^6.0.3",
506
- vite: "^8.0.1",
506
+ vite: "^8.0.2",
507
507
  "vite-tsconfig-paths": "^6.1.1",
508
- vitest: "^4.1.0",
508
+ vitest: "^4.1.1",
509
509
  "yamllint-js": "^0.2.4"
510
510
  },
511
511
  peerDependencies: {