Describe the bug
.github/linters/.jscpd.json format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
× Formatter would have printed the following content:
1 1 │ {
2 │ - ····"threshold":·5,
3 │ - ····"reporters":·[
4 │ - ········"consoleFull"
5 │ - ····],
6 │ - ····"ignore":·[
7 │ - ········"**/tests/**"
8 │ - ····],
9 │ - ····"absolute":·true
2 │ + → "threshold":·5,
3 │ + → "reporters":·["consoleFull"],
4 │ + → "ignore":·["**/tests/**"],
5 │ + → "absolute":·true
10 6 │ }
11 7 │
error[unpinned-uses]: unpinned action reference
--> /github/workspace/.github/workflows/Linter.yml:27:9
|
27 | uses: super-linter/super-linter@latest
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
|
= note: audit confidence → High
Version information
super-linter v8
To reproduce
As super linter is not enforcing version but using latest, just use the current template-psmodule is throwing the error
Code snippet
Relevant output
Describe the bug
.github/linters/.jscpd.json format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
error[unpinned-uses]: unpinned action reference
--> /github/workspace/.github/workflows/Linter.yml:27:9
|
27 | uses: super-linter/super-linter@latest
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
|
= note: audit confidence → High
Version information
super-linter v8
To reproduce
As super linter is not enforcing version but using latest, just use the current template-psmodule is throwing the error
Code snippet
Template-PSmoduleRelevant output