Skip to content

Commit

Permalink
Merge pull request #20 from reviewdog/migrate-to-official-docker-image
Browse files Browse the repository at this point in the history
migrate to official node image
  • Loading branch information
shogo82148 authored Oct 10, 2021
2 parents 3f88863 + abbd4f8 commit 40f5a7a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/depup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 40f5a7a

Please sign in to comment.