Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit 526e884

Browse files
committed
Add github action for hadolint
1 parent 86e6acc commit 526e884

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/hadolint.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Hadolint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch: {}
11+
schedule:
12+
- cron: "0 21 * * 6"
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
run:
19+
runs-on: ubuntu-24.04
20+
21+
steps:
22+
- name: Harden Runner
23+
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
24+
with:
25+
egress-policy: audit
26+
27+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0

0 commit comments

Comments
 (0)