diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index dc03a09..545938f 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -7,6 +7,32 @@ on: workflow_dispatch: jobs: + markdownlint-cli: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: haya14busa/action-depup@v1 + id: depup + with: + file: Dockerfile + version_name: MARKDOWNLINT_CLI_VERSION + repo: DavidAnson/markdownlint-cli + + - name: Create Pull Request + uses: peter-evans/create-pull-request@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + title: "chore(deps): update markdownlint-cli to ${{ steps.depup.outputs.latest }}" + commit-message: "chore(deps): update markdownlint-cli to ${{ steps.depup.outputs.latest }}" + body: | + Update markdownlint-cli to [v${{ steps.depup.outputs.latest }}](https://github.com/DavidAnson/reviewdog/markdownlint-cli/tag/v${{ steps.depup.outputs.latest }}) + Compare [v${{ steps.depup.outputs.current }}...v${{ steps.depup.outputs.latest }}](https://github.com/DavidAnson/markdownlint-cli/compare/v${{ steps.depup.outputs.current }}...v${{ steps.depup.outputs.latest }}) + + This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3Adepup). + branch: depup/markdownlint-cli + base: master + labels: "bump:minor" + reviewdog: runs-on: ubuntu-latest steps: diff --git a/Dockerfile b/Dockerfile index d5c06e0..fed3313 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ -FROM prologic/markdownlint:latest +FROM node:16-alpine3.14 + +ENV MARKDOWNLINT_VERSION=v0.29.0 + +RUN npm install -g "markdownlint-cli@$MARKDOWNLINT_CLI_VERSION" ENV REVIEWDOG_VERSION=v0.13.0