build(deps): bump chainguard/wolfi-base from 3b271f8
to 9637e55
#42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Container | |
on: | |
pull_request: | |
paths: | |
- Dockerfile | |
permissions: | |
pull-requests: write | |
jobs: | |
hadolint: | |
name: Dockerfile Linting | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Run hadolint | |
id: hadolint | |
uses: hadolint/[email protected] | |
- name: Update Pull Request | |
uses: actions/github-script@v7 | |
if: ${{ github.event_name == 'pull_request' && !success() }} | |
with: | |
script: | | |
const output = ` | |
#### Hadolint: \`${{ steps.hadolint.outcome }}\` | |
\`\`\` | |
${process.env.HADOLINT_RESULTS} | |
\`\`\` | |
`; | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: output | |
}) |