Skip to content

Commit 1394cc8

Browse files
authored
Merge pull request #2949 from testssl/shellcheck_ignore_files
Ignore files types for shellcheck
2 parents 12e4ebd + fd97a75 commit 1394cc8

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

.github/workflows/shellcheck.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
1+
# Runs shellcheck on code -- in error mode only.
2+
# "paths-ignore" should be in line with unit_test.*yml files
13
---
24
name: Shellcheck
3-
on: [pull_request]
5+
6+
on:
7+
pull_request:
8+
paths-ignore:
9+
- 'utils/**'
10+
- 'doc/**'
11+
- 'bin/**'
12+
- '**.md'
13+
- '**.1'
14+
- '**.html'
15+
- '**.pem'
16+
- '**.pdf'
17+
- '**.yml'
18+
- 'LICENSE'
19+
- 'Dockerfile'
20+
- 'Dockerfile.alpine'
21+
422
permissions:
523
contents: read
624

.github/workflows/unit_tests_macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# "paths-ignore" should be in line with unit_tests_ubuntu.yml
2+
# and shellcheck.yml
13
---
24
name: CI run MacOS
35

.github/workflows/unit_tests_ubuntu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# "paths-ignore" should be in line with unit_tests_macos.yml
2+
# and shellcheck.yml
13
---
24
name: CI run Ubuntu
35

0 commit comments

Comments
 (0)