no-case-insensitive-input-id-collision
Rule catalog ID: R048
Targeted pattern scopeโ
Action metadata input ID keys under inputs.
What this rule reportsโ
Reports input IDs that collide when normalized case-insensitively.
Why this rule existsโ
Case-variant IDs are confusing for callers and easy to misread in workflow with: blocks.
โ Incorrectโ
inputs:
Token:
description: First input
token:
description: Second input
โ Correctโ
inputs:
token:
description: Access token
Additional examplesโ
For larger repositories, this rule is often enabled together with one of the published presets so violations are caught in pull requests before workflow changes are merged.
ESLint flat config exampleโ
import githubActions from "eslint-plugin-github-actions-2";
export default [
{
files: ["**/*.{yml,yaml}"],
plugins: {
"github-actions": githubActions,
},
rules: {
"github-actions/no-case-insensitive-input-id-collision": "error",
},
},
];
When not to use itโ
You can disable this rule when its policy does not match your repository standards, or when equivalent enforcement is already handled by another policy tool.