Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
fix markdown lint name, fix docker lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justinthelaw committed Aug 8, 2024
1 parent d780a66 commit 2f93386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/docker-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,3 @@ jobs:
dockerfile: "*Dockerfile*"
recursive: true
config: .hadolint.yaml

- name: Update Pull Request
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
if: github.event_name == 'pull_request'
with:
script: |
const output = `
#### Hadolint: \`${{ steps.hadolint.outcome }}\`
\`\`\`
${process.env.HADOLINT_RESULTS}
\`\`\`
**NOTE**: No action is required if results do not exceed \`warning\` level
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})
4 changes: 2 additions & 2 deletions .github/workflows/markdown-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker Lint
name: Markdown Lint

on:
push:
Expand All @@ -25,7 +25,7 @@ concurrency:
jobs:
markdown-lint:
runs-on: ubuntu-latest
name: Lint Markdowns
name: Lint Markdown Files

permissions:
contents: read
Expand Down

0 comments on commit 2f93386

Please sign in to comment.