mirror of
https://github.com/irongut/CodeCoverageSummary.git
synced 2026-05-14 22:20:13 +02:00
b7e4620db9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.21 to 2.1.22. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/c7f292ea4f542c473194b33813ccd4c207a6c725...b398f525a5587552e573b247ac661067fafa920b) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
# hadolint is a Dockerfile linter written in Haskell
|
|
# More details at https://github.com/hadolint/hadolint
|
|
|
|
name: Docker Linter
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- '**/*.gitignore'
|
|
- '**/*.gitattributes'
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '35 11 * * 0'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
hadolint:
|
|
name: Run hadolint scan
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read # for actions/checkout
|
|
security-events: write # for github/codeql-action/upload-sarif
|
|
steps:
|
|
|
|
- name: Harden Runner
|
|
uses: step-security/harden-runner@dd2c410b088af7c0dc8046f3ac9a8f4148492a95
|
|
with:
|
|
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
|
|
|
- name: Run hadolint
|
|
uses: hadolint/hadolint-action@f988afea3da57ee48710a9795b6bb677cc901183
|
|
with:
|
|
dockerfile: ./Dockerfile
|
|
format: sarif
|
|
output-file: hadolint-results.sarif
|
|
no-fail: true
|
|
|
|
- name: Upload Results
|
|
uses: github/codeql-action/upload-sarif@b398f525a5587552e573b247ac661067fafa920b
|
|
with:
|
|
sarif_file: hadolint-results.sarif
|
|
wait-for-processing: true
|