Introduce reviewdog/action-hadolint

This commit is contained in:
haya14busa
2020-01-19 06:14:06 +00:00
parent 4b16828cda
commit 5a513c130d

View File

@@ -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