|
| 1 | +self-hosted-runner: |
| 2 | + labels: [] |
| 3 | + |
| 4 | +config-variables: null |
| 5 | + |
| 6 | +paths: |
| 7 | + .github/workflows/**/*.{yml,yaml}: |
| 8 | + ignore: |
| 9 | + # SC1070: Suppressing because scripts intentionally contain valid but unusual characters, |
| 10 | + # Escape characters like `\o` used purposefully, and tested for clarity |
| 11 | + - '.*shellcheck reported issue in this script: SC1070:.+' |
| 12 | + |
| 13 | + # SC1133: ShellCheck suggests optimizing conditional expressions, but these scripts |
| 14 | + # operate correctly and readability is prioritized in real-world use. This ensures familiarity for contributors. |
| 15 | + - '.*shellcheck reported issue in this script: SC1133:.+' |
| 16 | + |
| 17 | + # SC2086: Ignored because word splitting is intentional in commands like `git diff`, |
| 18 | + # where simple, predictable paths are passed as arguments. No unintended globbing occurs in this context. |
| 19 | + - '.*shellcheck reported issue in this script: SC2086:.+' |
| 20 | + |
| 21 | + # SC2046: Suppressed because word splitting is desired and necessary in certain scenarios, |
| 22 | + # PR_HEAD is set by GitHub Actions and paths are fixed/controlled. |
| 23 | + - '.*shellcheck reported issue in this script: SC2046:.+' |
| 24 | + |
| 25 | + # SC2059: Format strings in `printf` are deliberately designed and controlled for specific outputs. |
| 26 | + # ShellCheck’s safeguard warning is appreciated but not critical in these cases. |
| 27 | + - '.*shellcheck reported issue in this script: SC2059:.+' |
| 28 | + |
| 29 | + # SC2236: Both `! -z` and `-n` achieve the same result, and while `-n` is idiomatic. (Just a style suggestion) |
| 30 | + # suppressing this warning allows scripts to remain consistent with existing standards. |
| 31 | + - '.*shellcheck reported issue in this script: SC2236:.+' |
| 32 | + |
| 33 | + # SC1001: Escaped characters (like `\o`) are deliberate in certain scripts for expected functionality. |
| 34 | + # ShellCheck’s flagging of these characters as potential issues isn’t applicable to this use case. |
| 35 | + - '.*shellcheck reported issue in this script: SC1001:.+' |
| 36 | + |
| 37 | + # SC2129: Individual redirections are chosen for simplicity and clarity in the workflows. |
| 38 | + # combining them is technically efficient, the current approach ensures more readable scripts. |
| 39 | + - '.*shellcheck reported issue in this script: SC2129:.+' |
| 40 | + |
| 41 | + # Runner warnings ignored because scripts are validated against specific configurations |
| 42 | + # and tested on GitHub Actions, ensuring compatibility. These warnings do not affect functionality. |
| 43 | + - '.*the runner of ".+" action is too old to run on GitHub Actions.+' |
| 44 | + |
0 commit comments