You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+55-14Lines changed: 55 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
name: CI
2
2
3
+
# yamllint disable rule:truthy
3
4
on:
4
5
push:
5
6
branches:
@@ -12,6 +13,7 @@ on:
12
13
branches:
13
14
- main
14
15
workflow_dispatch:
16
+
# yamllint enable rule:truthy
15
17
16
18
jobs:
17
19
build:
@@ -64,21 +66,16 @@ jobs:
64
66
uses: actions/checkout@v3
65
67
with:
66
68
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
67
-
fetch-depth: 0# If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
69
+
fetch-depth: 0
68
70
69
71
# MegaLinter
70
72
- name: MegaLinter
71
73
id: ml
72
-
# You can override MegaLinter flavor used to have faster performances
73
-
# More info at https://megalinter.io/flavors/
74
74
uses: oxsecurity/megalinter/flavors/javascript@v6
75
75
env:
76
-
# All available variables are described in documentation
77
-
# https://megalinter.io/configuration/
78
-
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
0 commit comments