File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ name : Code quality
3+ run-name : code-quality-${{ github.event.number }} ${{ github.event.pull_request.title }}
4+
5+ on :
6+ pull_request :
7+ branches :
8+ - main
9+
10+ # the `concurrency` settings ensure that not too many CI jobs run in parallel
11+ concurrency :
12+ # group by workflow and ref; the last slightly strange component ensures that for pull
13+ # requests, we limit to 1 concurrent job, but for the master branch we don't
14+ group : ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }}
15+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
16+
17+
18+ jobs :
19+ hadolint :
20+ name : Code quality - hadolint
21+ runs-on : ubuntu-latest
22+ steps :
23+ - name : Checkout repository
24+ uses : actions/checkout@v3
25+
26+ - name : Run hadolint
27+ uses : hadolint/hadolint-action@v3.1.0
28+ with :
29+ recursive : true
You can’t perform that action at this time.
0 commit comments