File tree Expand file tree Collapse file tree 2 files changed +23
-8
lines changed
Expand file tree Collapse file tree 2 files changed +23
-8
lines changed Original file line number Diff line number Diff line change 9393 needs : ['build']
9494 container : ghcr.io/datadog/images-rb/engines/ruby:3.3
9595 steps :
96- - name : Checkout
97- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
96+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9897 with :
9998 persist-credentials : false
10099 - name : Restore bundle cache
@@ -144,11 +143,8 @@ jobs:
144143 zizmor :
145144 name : zizmor
146145 runs-on : ubuntu-24.04
147- permissions :
148- security-events : write
149146 steps :
150- - name : Checkout repository
151- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
147+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
152148 with :
153149 persist-credentials : false
154150 - name : Run zizmor 🌈
@@ -165,7 +161,8 @@ jobs:
165161 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
166162 with :
167163 persist-credentials : false
168- - uses : docker://rhysd/actionlint:1.7.7
164+ - name : Run actionlint
165+ uses : docker://rhysd/actionlint:1.7.7
169166 with :
170167 args : -color
171168
@@ -177,7 +174,8 @@ jobs:
177174 with :
178175 persist-credentials : false
179176 - run : pip install yamllint
180- - run : yamllint --strict .
177+ - name : Run yamllint
178+ run : yamllint --strict .
181179
182180 complete :
183181 name : Static Analysis (complete)
Original file line number Diff line number Diff line change @@ -306,6 +306,23 @@ To change your code to the version that standard wants, run:
306306$ bundle exec rake standard:fix
307307```
308308
309+ For non-Ruby code, follow the instructions below to debug locally, if CI failed with respective linter.
310+
311+ - For ` yamllint ` , run:
312+ ``` bash
313+ docker run --rm -v $( pwd) :/app -w /app cytopia/yamllint .
314+ ```
315+
316+ - For ` actionlint ` , run:
317+ ``` bash
318+ docker run --rm -v $( pwd) :/app -w /app rhysd/actionlint -color
319+ ```
320+
321+ - For ` zizmor ` , run:
322+ ``` bash
323+ docker run --rm -v $( pwd) :/app -w /app -e GH_TOKEN=$( gh auth token) ghcr.io/woodruffw/zizmor --min-severity low .
324+ ```
325+
309326## Appendix
310327
311328### Writing new integrations
You can’t perform that action at this time.
0 commit comments