Skip to content

Commit 930d1fd

Browse files
committed
Activate linter for GitHub actions
1 parent a715f39 commit 930d1fd

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/checks.yml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

exasol/toolbox/templates/github/workflows/checks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,9 @@ jobs:
226226
- name: Check Workflows
227227
id: check-workflows
228228
run: poetry run -- nox -s workflow:check -- all
229+
230+
lint-github-actions:
231+
name: Lint GitHub Actions
232+
uses: ./.github/workflows/lint-github-actions.yml
233+
permissions:
234+
contents: read
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
(( workflow_header ))
2+
name: Lint GitHub Actions
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
lint-github-actions:
8+
runs-on: "(( os_version ))"
9+
permissions:
10+
contents: read # only needed for private or internal repos
11+
actions: read # only needed for private or internal repos
12+
steps:
13+
- name: Check out Repository
14+
id: check-out-repository
15+
uses: actions/checkout@v6
16+
with:
17+
persist-credentials: false
18+
19+
- name: Lint GitHub actions with Zizmor
20+
id: lint-github-actions
21+
uses: zizmorcore/zizmor-action@v0.5.3
22+
with:
23+
advanced-security: false

0 commit comments

Comments
 (0)