Skip to content

Commit 01b5471

Browse files
github-actions[bot]github-actionsfabasoad
authored
Update license copyright year to 2024 (#40)
## Changelog - Update license copyright year to 2024 --- Powered by [FantasticFiasco/action-update-license-year](https://github.com/FantasticFiasco/action-update-license-year) --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: fabasoad <fabasoad@gmail.com>
1 parent 5dd0aae commit 01b5471

8 files changed

Lines changed: 77 additions & 47 deletions

File tree

.github/workflows/functional-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on: # yamllint disable-line rule:truthy
88
pull_request:
99

1010
jobs:
11-
package_manager:
11+
package-manager:
1212
name: Package manager
1313
timeout-minutes: 5
1414
strategy:

.github/workflows/linting.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/security.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 }}"

.github/workflows/update-license.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
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 }}

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ repos:
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"]
@@ -26,7 +26,7 @@ repos:
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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021-2023 Yevhen Fabizhevskyi
3+
Copyright (c) 2021-2024 Yevhen Fabizhevskyi
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
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

89
1. [snyk-container](#snyk-container)
910
2. [snyk-iac](#snyk-iac)

0 commit comments

Comments
 (0)