We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b22ff4f commit fbacaebCopy full SHA for fbacaeb
.github/workflows/docker-build.yml
@@ -121,7 +121,6 @@ jobs:
121
${{ steps.trivy.outputs.report }}
122
```
123
</details>
124
- });
125
126
- name: Upload Trivy scan results to GitHub Security tab
127
if: github.event_name == 'pull_request' && inputs.security-scan && inputs.security-report == 'sarif'
@@ -148,7 +147,7 @@ jobs:
148
147
body-includes: 'Hadolint Dockerfile Lint Results'
149
150
- name: Create or update Hadolint comment
151
- if: github.event_name == 'pull_request' && inputs.hadolint
+ if: github.event_name == 'pull_request' && inputs.hadolint && steps.hadolint.outputs.report != ''
152
uses: peter-evans/create-or-update-comment@v4
153
with:
154
token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments