Skip to content

Commit 69c5a34

Browse files
committed
ci: Don't actionlint against actions/ changes
Despite the name, I don't think actionlint lints reusable actions; only workflows, found under .github/workflows/. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
1 parent 0407e05 commit 69c5a34

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/actionlint.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ on:
77
- "main"
88
- "release-**"
99
paths:
10-
- 'actions/**/*.ya?ml' # Any in-house action
1110
- '.github/workflows/*.ya?ml'
1211
- '.github/workflows/actionlint.*' # This workflow
1312
pull_request:
1413
branches:
1514
- "main"
1615
- "release-**"
1716
paths:
18-
- 'actions/**/*.ya?ml' # Any in-house action
1917
- '.github/workflows/*.ya?ml'
2018
- '.github/workflows/actionlint.*' # This workflow
2119

@@ -47,4 +45,4 @@ jobs:
4745
- name: "Check workflow files"
4846
run: |
4947
echo "::add-matcher::.github/workflows/matchers/actionlint.json"
50-
docker run --volume="${PWD}:/repo" --workdir=/repo actionlint -color
48+
docker run --volume="${PWD}:/repo" --workdir=/repo actionlint -color

0 commit comments

Comments
 (0)