@@ -28,15 +28,15 @@ jobs:
2828
2929 - name : Remove generated files
3030 # Remove generated files; we can't lint them and we want to detect removed files during build
31- run : find css/ fonts / icons/ js/ -type f -not -name '.gitkeep' -delete
31+ run : find css/ webfonts / icons/ js/ -type f -not -name '.gitkeep' -delete
3232
3333 - name : Lint Code Base
3434 uses : super-linter/super-linter/slim@v7
3535 env :
3636 DEFAULT_BRANCH : ${{ github.head_ref || github.ref_name }}
3737 # CSS Linter will choke on generated assets
3838 IGNORE_GENERATED_FILES : true
39- FILTER_REGEX_EXCLUDE : ' (css|js|fonts |icons)/.*'
39+ FILTER_REGEX_EXCLUDE : ' (css|js|webfonts |icons)/.*'
4040 # To report GitHub Actions status checks
4141 SAVE_SUPER_LINTER_OUTPUT : false
4242 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -106,10 +106,10 @@ jobs:
106106 git add --all
107107 $Diff = git diff --cached --name-only
108108
109- # Check if a file under css/ js/ icons/ or fonts / that has changed (added, modified, deleted)
109+ # Check if a file under css/ js/ icons/ or webfonts / that has changed (added, modified, deleted)
110110 $SourceDiff = $Diff | Where-Object {
111111 $_ -match '^css/' -or
112- $_ -match '^fonts /' -or
112+ $_ -match '^webfonts /' -or
113113 $_ -match '^icons/' -or
114114 $_ -match '^js/'
115115 }
@@ -171,7 +171,7 @@ jobs:
171171
172172 # Optional path to check for changes. If any changes are detected in the path the
173173 # 'changed' output will true. Enter multiple paths separated by spaces.
174- change_path : " css/** js/** fonts /** icons/** package.json package-lock.json"
174+ change_path : " css/** js/** webfonts /** icons/** package.json package-lock.json"
175175
176176 commit :
177177 name : Commit changes to assets
@@ -193,7 +193,7 @@ jobs:
193193 with :
194194 # The arguments for the `git add` command (see the paragraph below for more info)
195195 # Default: '.'
196- add : " ['resources/*', 'css/*', 'fonts /*', 'icons/*', 'js/*']"
196+ add : " ['resources/*', 'css/*', 'webfonts /*', 'icons/*', 'js/*']"
197197
198198 # Determines the way the action fills missing author name and email. Three options are available:
199199 # - github_actor -> UserName <UserName@users.noreply.github.com>
0 commit comments