Introduce reviewdog/action-hadolint
This commit is contained in:
17
.github/workflows/reviewdog.yml
vendored
17
.github/workflows/reviewdog.yml
vendored
@@ -21,3 +21,20 @@ jobs:
|
|||||||
github_token: ${{ secrets.github_token }}
|
github_token: ${{ secrets.github_token }}
|
||||||
reporter: ${{ steps.reporter.outputs.value }}
|
reporter: ${{ steps.reporter.outputs.value }}
|
||||||
level: warning
|
level: warning
|
||||||
|
|
||||||
|
hadolint:
|
||||||
|
name: runner / hadolint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: haya14busa/action-cond@v1
|
||||||
|
id: reporter
|
||||||
|
with:
|
||||||
|
cond: ${{ github.event_name == 'pull_request' }}
|
||||||
|
if_true: "github-pr-review"
|
||||||
|
if_false: "github-check"
|
||||||
|
- uses: reviewdog/action-hadolint@v1
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.github_token }}
|
||||||
|
reporter: ${{ steps.reporter.outputs.value }}
|
||||||
|
level: warning
|
||||||
|
|||||||
Reference in New Issue
Block a user