Skip to content

πŸͺ²[Bug]: super-linter v8 is throwing linter errorsΒ #206

@webalexeu

Description

@webalexeu

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions