File tree Expand file tree Collapse file tree 3 files changed +24
-8
lines changed Expand file tree Collapse file tree 3 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 9797 ./actionlint
9898 ./actionlint example_workflows/*.yaml
9999
100+ - name : Install the latest version of uv
101+ uses : astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5
102+ - name : Actions Security Check
103+ env :
104+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105+ run : |
106+ uvx zizmor --format plain .
107+
100108 - name : Lint CHANGELOG
101109 uses : DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19
102110 with :
@@ -111,15 +119,19 @@ jobs:
111119 docs/*.md
112120 **/README.md
113121
114- ensure-pinned-actions :
115- runs-on : ubuntu-24.04
116- steps :
117- - name : Checkout code
118- uses : actions/checkout@v4
119-
120- - name : Ensure SHA pinned actions
122+ - name : ensure-sha-pinned-actions
121123 uses : zgosalvez/github-actions-ensure-sha-pinned-actions@25ed13d0628a1601b4b44048e63cc4328ed03633 # v3
122124 with :
123125 allowlist : |
124126 actions/
125127 dflook/
128+
129+ - name : Lint Dockerfile
130+ uses : hadolint/hadolint-action@v3.1.0
131+ with :
132+ dockerfile : ./image/Dockerfile
133+
134+ - name : Lint Dockerfile
135+ uses : hadolint/hadolint-action@v3.1.0
136+ with :
137+ dockerfile : ./image/Dockerfile-base
Original file line number Diff line number Diff line change 1+ # hadolint ignore=DL3007
12FROM danielflook/terraform-github-actions-base:latest
23
34ARG TARGETARCH
@@ -8,7 +9,7 @@ ARG VERSION=99.0.0
89COPY src/ /tmp/src/
910COPY setup.py /tmp
1011RUN sed -i "s|version='.*'|version=\' ${VERSION}\' |" /tmp/setup.py \
11- && pip install /tmp \
12+ && pip install --no-cache-dir /tmp \
1213 && rm -rf /tmp/src /tmp/setup.py
1314
1415RUN if [ "$FETCH_CHECKSUMS" = "yes" ]; then \
Original file line number Diff line number Diff line change 11FROM golang:1.12.6 AS tfmask
22
3+ # hadolint ignore=DL3003
34RUN git clone https://github.com/cloudposse/tfmask.git \
45 && cd tfmask \
56 && git checkout 9a15f421210397f2c321a57b5ed3d108a012a86d \
@@ -14,6 +15,8 @@ ENV TF_IN_AUTOMATION=true
1415ENV TF_INPUT=false
1516ENV TF_PLUGIN_CACHE_DIR=/usr/local/share/terraform/plugin-cache
1617
18+ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
19+ # hadolint ignore=DL3008
1720RUN <<EOF
1821 apt-get update
1922 apt-get install --no-install-recommends -y \
You can’t perform that action at this time.
0 commit comments