File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ on: # yamllint disable-line rule:truthy
88 pull_request :
99
1010jobs :
11- package_manager :
11+ package-manager :
1212 name : Package manager
1313 timeout-minutes : 5
1414 strategy :
Original file line number Diff line number Diff line change 1+ ---
2+ name : Linting
3+
4+ on : # yamllint disable-line rule:truthy
5+ pull_request : {}
6+ push :
7+ branches :
8+ - main
9+
10+ jobs :
11+ pre-commit :
12+ name : Pre-commit
13+ uses : fabasoad/reusable-workflows/.github/workflows/wf-pre-commit.yml@main
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+ name : Security
3+
4+ on : # yamllint disable-line rule:truthy
5+ pull_request : {}
6+ push :
7+ branches :
8+ - main
9+
10+ defaults :
11+ run :
12+ shell : sh
13+
14+ jobs :
15+ code-scanning :
16+ name : Code scanning
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout ${{ github.repository }}
20+ uses : actions/checkout@v4
21+ - name : Initialize CodeQL
22+ uses : github/codeql-action/init@v3
23+ with :
24+ languages : " javascript"
25+ - name : Perform CodeQL Analysis
26+ id : codeql-analysis
27+ uses : github/codeql-action/analyze@v3
28+ - name : Upload to GHAS
29+ if : always()
30+ uses : github/codeql-action/upload-sarif@v3
31+ with :
32+ category : " code-scanning"
33+ sarif_file : " ${{ steps.codeql-analysis.outputs.sarif-output }}"
34+ directory-scanning :
35+ name : Directory scanning
36+ runs-on : ubuntu-latest
37+ steps :
38+ - name : Checkout ${{ github.repository }}
39+ uses : actions/checkout@v4
40+ - name : Scan current project
41+ id : scan-directory
42+ uses : anchore/scan-action@v3
43+ with :
44+ by-cve : " true"
45+ path : " ."
46+ - name : Upload to GHAS
47+ if : always()
48+ uses : github/codeql-action/upload-sarif@v3
49+ with :
50+ category : " directory-scanning"
51+ sarif_file : " ${{ steps.scan-directory.outputs.sarif }}"
Original file line number Diff line number Diff line change 99 run :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v4
12+ - name : Checkout ${{ github.repository }}
13+ uses : actions/checkout@v4
1314 with :
1415 fetch-depth : 0
15- - uses : FantasticFiasco/action-update-license-year@v3
16+ - name : Update LICENSE file
17+ uses : FantasticFiasco/action-update-license-year@v3
1618 with :
1719 token : ${{ secrets.GITHUB_TOKEN }}
1820 assignees : ${{ github.repository_owner }}
Original file line number Diff line number Diff line change 99 hooks :
1010 - id : detect-secrets
1111 - repo : https://github.com/zricethezav/gitleaks
12- rev : v8.18.0
12+ rev : v8.18.1
1313 hooks :
1414 - id : gitleaks
1515 # Markdown
1616 - repo : https://github.com/igorshubovych/markdownlint-cli
17- rev : v0.37 .0
17+ rev : v0.38 .0
1818 hooks :
1919 - id : markdownlint-fix
2020 stages : ["commit"]
2626 stages : ["push"]
2727 # Yaml
2828 - repo : https://github.com/adrienverge/yamllint
29- rev : v1.32 .0
29+ rev : v1.33 .0
3030 hooks :
3131 - id : yamllint
3232 stages : ["push"]
@@ -38,12 +38,12 @@ repos:
3838 stages : ["push"]
3939 # Other
4040 - repo : https://github.com/pre-commit/mirrors-prettier
41- rev : v3.0.3
41+ rev : v3.1.0
4242 hooks :
4343 - id : prettier
4444 stages : ["commit"]
4545 - repo : https://github.com/pre-commit/pre-commit-hooks
46- rev : v4.4 .0
46+ rev : v4.5 .0
4747 hooks :
4848 - id : check-merge-conflict
4949 - id : check-json
Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2021-2023 Yevhen Fabizhevskyi
3+ Copyright (c) 2021-2024 Yevhen Fabizhevskyi
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 33[ ![ Stand With Ukraine] ( https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg )] ( https://stand-with-ukraine.pp.ua )
44![ GitHub release] ( https://img.shields.io/github/v/release/fabasoad/pre-commit-snyk?include_prereleases )
55![ functional-tests] ( https://github.com/fabasoad/pre-commit-snyk/actions/workflows/functional-tests.yml/badge.svg )
6- ![ pre-commit] ( https://github.com/fabasoad/pre-commit-snyk/actions/workflows/pre-commit.yml/badge.svg )
6+ ![ security] ( https://github.com/fabasoad/pre-commit-snyk/actions/workflows/security.yml/badge.svg )
7+ ![ linting] ( https://github.com/fabasoad/pre-commit-snyk/actions/workflows/linting.yml/badge.svg )
78
891 . [ snyk-container] ( #snyk-container )
9102 . [ snyk-iac] ( #snyk-iac )
You can’t perform that action at this time.
0 commit comments