File tree Expand file tree Collapse file tree 13 files changed +706
-895
lines changed Expand file tree Collapse file tree 13 files changed +706
-895
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616 uses : actions/checkout@v4
1717 - uses : actions/setup-node@v4
1818 with :
19- node-version : " 20.10.0 "
19+ node-version-file : " .tool-versions "
2020 - name : Cache yarn dependencies
2121 id : yarn-cache
2222 uses : actions/cache@v4
Original file line number Diff line number Diff line change 77 - ' v*.*.*'
88
99jobs :
10- create-release :
11- name : Create release
12- runs-on : ubuntu-latest
13- steps :
14- - name : Checkout ${{ github.repository }}
15- uses : actions/checkout@v4
16- with :
17- fetch-depth : 0
18- - name : Get changelog
19- id : changelog
20- uses : simbo/changes-since-last-release-action@v1
21- - name : Create release
22- uses : softprops/action-gh-release@v2
23- with :
24- tag_name : ${{ github.ref }}
25- name : ${{ github.ref_name }}
26- token : ${{ secrets.GITHUB_TOKEN }}
27- body : |
28- # Changelog
29-
30- ${{ steps.changelog.outputs.log }}
31- draft : false
32- prerelease : false
33- - name : Bump tags
34- uses : fischerscode/tagger@v0
35- with :
36- prefix : v
10+ github :
11+ name : GitHub
12+ uses : fabasoad/reusable-workflows/.github/workflows/wf-github-release.yml@main
Original file line number Diff line number Diff line change 22name : Security
33
44on : # yamllint disable-line rule:truthy
5+ pull_request : {}
56 push :
67 branches :
78 - main
8- pull_request :
9-
10- defaults :
11- run :
12- shell : sh
139
1410jobs :
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- yarn-audit :
35- name : Yarn audit
36- runs-on : ubuntu-latest
37- steps :
38- - name : Checkout ${{ github.repository }}
39- uses : actions/checkout@v4
40- - name : Yarn audit
41- run : yarn npm audit --all
42- directory-scanning :
43- name : Directory scanning
44- runs-on : ubuntu-latest
45- steps :
46- - name : Checkout ${{ github.repository }}
47- uses : actions/checkout@v4
48- - name : Scan current project
49- id : scan-directory
50- uses : anchore/scan-action@v3
51- with :
52- by-cve : " true"
53- path : " ."
54- - name : Upload to GHAS
55- if : always()
56- uses : github/codeql-action/upload-sarif@v3
57- with :
58- category : " directory-scanning"
59- sarif_file : " ${{ steps.scan-directory.outputs.sarif }}"
11+ sast :
12+ name : SAST
13+ permissions :
14+ contents : read
15+ security-events : write
16+ uses : fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main
Original file line number Diff line number Diff line change 11---
2- name : Sync labels
2+ name : Labels
33
44on : # yamllint disable-line rule:truthy
55 push :
66 branches :
77 - main
8- paths :
9- - .github/labels.yml
10- - .github/workflows/sync-labels.yml
11- workflow_dispatch :
8+ workflow_dispatch : {}
129
1310jobs :
14- sync-labels :
15- name : Sync labels
16- runs-on : ubuntu-latest
17- steps :
18- - name : Checkout ${{ github.repository }}
19- uses : actions/checkout@v4
20- - name : Run Label Syncer
21- uses : micnncim/action-label-syncer@v1
22- env :
23- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
11+ maintenance :
12+ name : Maintenance
13+ uses : fabasoad/reusable-workflows/.github/workflows/wf-sync-labels.yml@main
Original file line number Diff line number Diff line change 11---
2- name : Update license
2+ name : License
33
4- on :
4+ on : # yamllint disable-line rule:truthy
55 schedule :
6- - cron : ' 0 5 1 1 *'
6+ - cron : " 0 5 1 1 *"
77
88jobs :
9- run :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Checkout ${{ github.repository }}
13- uses : actions/checkout@v4
14- with :
15- fetch-depth : 0
16- - name : Update LICENSE file
17- uses : FantasticFiasco/action-update-license-year@v3
18- with :
19- token : ${{ secrets.GITHUB_TOKEN }}
20- assignees : ${{ github.repository_owner }}
21- labels : enhancement
22- prTitle : Update license copyright year to {{currentYear}}
23- prBody : |
24- ## Changelog
25-
26- - Update license copyright year to {{currentYear}}
27-
28- ---
29-
30- Powered by [FantasticFiasco/action-update-license-year](https://github.com/FantasticFiasco/action-update-license-year)
9+ maintenance :
10+ name : Maintenance
11+ uses : fabasoad/reusable-workflows/.github/workflows/wf-update-license.yml@main
Original file line number Diff line number Diff line change @@ -36,21 +36,21 @@ repos:
3636 verbose : false
3737 stages : ["push"]
3838 - repo : https://github.com/Yelp/detect-secrets
39- rev : v1.4 .0
39+ rev : v1.5 .0
4040 hooks :
4141 - id : detect-secrets
4242 - repo : https://github.com/gitleaks/gitleaks
43- rev : v8.18.2
43+ rev : v8.18.4
4444 hooks :
4545 - id : gitleaks
4646 - repo : https://github.com/fabasoad/pre-commit-snyk
47- rev : v0.6.1
47+ rev : v0.6.2
4848 hooks :
4949 - id : snyk-test
5050 stages : ["push"]
5151 # Markdown
5252 - repo : https://github.com/igorshubovych/markdownlint-cli
53- rev : v0.40 .0
53+ rev : v0.41 .0
5454 hooks :
5555 - id : markdownlint-fix
5656 stages : ["commit"]
@@ -62,11 +62,11 @@ repos:
6262 stages : ["push"]
6363 # GitHub Actions
6464 - repo : https://github.com/rhysd/actionlint
65- rev : v1.6.27
65+ rev : v1.7.1
6666 hooks :
6767 - id : actionlint
6868 args : ["-pyflakes="]
69- stages : ["push "]
69+ stages : ["commit "]
7070 # Other
7171 - repo : https://github.com/pre-commit/pre-commit-hooks
7272 rev : v4.6.0
Original file line number Diff line number Diff line change 1- nodejs 22.0 .0
1+ nodejs 22.3 .0
You can’t perform that action at this time.
0 commit comments