chore(deps): update oven/bun docker tag to v1.1.20 #77
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
# 作成されたプルリクエストに対してDockerfileに変更があればhadolintを実行します。 | |
name: Dockerfile lint | |
on: | |
pull_request: | |
paths: | |
- 'Dockerfile' | |
jobs: | |
lint: | |
name: Dockerfile lint by Hadolint Action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: hadolint/[email protected] | |
id: run_hadolint | |
with: | |
dockerfile: ./Dockerfile | |
no-color: false | |
no-fail: false | |
- name: Create pull request comment | |
uses: actions/[email protected] | |
if: github.event_name == 'pull_request' | |
with: | |
script: | | |
const hadolintOutput = ` | |
#### Hadolint: \`${{ steps.run_hadolint.outcome }}\` | |
\`\`\` | |
${process.env.HADOLINT_RESULTS} | |
\`\`\` | |
`; | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: hadolintOutput, | |
}); |