From 2f933869a78993dc710c1b6b497a5c4df4c74a3f Mon Sep 17 00:00:00 2001 From: Justin Law Date: Thu, 8 Aug 2024 12:56:54 -0400 Subject: [PATCH] fix markdown lint name, fix docker lint --- .github/workflows/docker-lint.yaml | 21 --------------------- .github/workflows/markdown-lint.yaml | 4 ++-- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/workflows/docker-lint.yaml b/.github/workflows/docker-lint.yaml index d5f43ed71..2e0936067 100644 --- a/.github/workflows/docker-lint.yaml +++ b/.github/workflows/docker-lint.yaml @@ -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 - }) diff --git a/.github/workflows/markdown-lint.yaml b/.github/workflows/markdown-lint.yaml index 8017de00a..867a6ea2d 100644 --- a/.github/workflows/markdown-lint.yaml +++ b/.github/workflows/markdown-lint.yaml @@ -1,4 +1,4 @@ -name: Docker Lint +name: Markdown Lint on: push: @@ -25,7 +25,7 @@ concurrency: jobs: markdown-lint: runs-on: ubuntu-latest - name: Lint Markdowns + name: Lint Markdown Files permissions: contents: read