Skip to content

🪲[Bug]: super-linter v8 is throwing linter errors #206

Description

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

Template-PSmodule

Relevant output

NA

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions