Skip to content

Commit 43f7193

Browse files
committed
Update lint.yml: lint only xliff and no branch filter
1 parent c2b9ada commit 43f7193

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/lint.yml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
# For more information, see:
2-
# https://github.com/github/super-linter
3-
name: Lint Code Base
1+
name: Lint
42

53
on:
64
push:
7-
branches: [ "main" ]
5+
paths:
6+
- '**.xlf'
7+
- '**.4DSettings'
8+
- '**.4DCatalog'
9+
810
pull_request:
9-
branches: [ "main" ]
11+
paths:
12+
- '**.xlf'
13+
- '**.4DSettings'
14+
- '**.4DCatalog'
1015
jobs:
1116
run-lint:
1217
runs-on: ubuntu-latest
@@ -16,15 +21,7 @@ jobs:
1621
with:
1722
fetch-depth: 0
1823

19-
- name: Lint Code Base
20-
uses: github/super-linter/slim@v4
21-
env:
22-
VALIDATE_ALL_CODEBASE: false
23-
DEFAULT_BRANCH: "main"
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
26-
- name: Lint Xliff
27-
if: always()
24+
- name: Lint XML
2825
run: |
2926
sudo apt-get install libxml2-utils
3027
# shellcheck disable=2046

0 commit comments

Comments
 (0)