Skip to content

Commit eabaa28

Browse files
authored
ci: Don't actionlint against actions/ changes (#30)
Despite the name, I don't think actionlint lints reusable actions; only workflows, found under .github/workflows/. Signed-off-by: Ihar Hrachyshka <[email protected]> **Checklist:** - [ ] **Commit Message Formatting**: Commit titles and messages follow guidelines in the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/#summary). - [ ] [Changelog](https://github.com/instructlab/ci-actions/blob/main/CHANGELOG.md) updated with breaking and/or notable changes for the next minor release. - [ ] Documentation has been added and/or updated, if applicable. - [ ] Unit tests have been added and/or updated. (If this is not applicable, please provide a justification.) - [ ] Integration testing has been performed, if applicable ## Description of this Change Approved-by: ktdreyer Approved-by: courtneypacheco
2 parents 8644c87 + 69c5a34 commit eabaa28

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)