6 Commits

Author SHA1 Message Date
b56d837ef2 Merge pull request 'chore(deps): update dependency markdownlint-ci to v0.31.1' (#5) from renovate/markdownlint-ci-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #5
2022-02-09 19:22:21 +00:00
1356b5b048 chore(deps): update dependency markdownlint-ci to v0.31.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-02-09 20:15:23 +01:00
bd50e4f7b2 fix: define default branch
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 20:09:48 +01:00
6037be6651 fix: build markdownlint-ci from source code
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-09 20:04:48 +01:00
42588b3de7 fix(ci): add package rules
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-30 18:29:55 +01:00
4c8744948a chore(deps): update docker.io/volkerraschek/markdownlint docker tag to v0.30.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-11-20 12:04:10 +00:00
4 changed files with 40 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ steps:
- name: markdown lint - name: markdown lint
commands: commands:
- markdownlint *.md - markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.29.0 image: docker.io/volkerraschek/markdownlint:0.30.0
resources: resources:
limits: limits:
cpu: 50 cpu: 50

View File

@@ -1,18 +1,15 @@
FROM docker.io/library/alpine:3.12 FROM docker.io/library/node:lts-alpine3.15 AS build
ARG NODEJS_VERSION=12.22.6-r0 ARG MARKDOWNLINT_VERSION=master
ARG MARKDOWNLINT_VERSION
RUN set -ex && \ RUN set -ex && \
apk add --no-cache nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION} apk update && \
apk upgrade && \
apk add --no-cache git
RUN if [ ! -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli@${MARKDOWNLINT_VERSION}; fi RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \
RUN if [ -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli; fi cd /markdownlint && \
npm install --production && \
npm install --global
RUN set -ex && \ ENTRYPOINT [ "/usr/local/bin/markdownlint" ]
npm cache clean --force && \
apk del nodejs-npm
WORKDIR /work
ENTRYPOINT ["/usr/bin/markdownlint"]
CMD ["."]

View File

@@ -1,6 +1,6 @@
# MARKDOWNLINT_VERSION # MARKDOWNLINT_VERSION
# Only required to install a specifiy version # Only required to install a specifiy version
MARKDOWNLINT_VERSION?= MARKDOWNLINT_VERSION?=v0.31.1 # renovate: datasource=github-releases depName=markdownlint-ci lookupName=igorshubovych/markdownlint-cli versioning=semver
# CONTAINER_RUNTIME # CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a # The CONTAINER_RUNTIME variable will be used to specified the path to a

View File

@@ -1,8 +1,34 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json",
"automerge": true, "assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit", "automergeStrategy": "merge-commit",
"automergeType": "pr", "automergeType": "pr",
"rebaseLabel": "renovate/rebase", "labels": [ "renovate" ],
"rebaseWhen": "behind-base-branch" "packageRules": [
{
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true,
"matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"]
},
{
"addLabels": [ "renovate/markdownlint-cli", "renovate/automerge" ],
"automerge": false,
"matchPackageNames": [ "markdownlint-cli" ],
"matchManagers": [ "regex" ]
}
],
"rebaseLabel": "renovate/rebase",
"rebaseWhen": "behind-base-branch",
"regexManagers": [
{
"description": "Update version",
"fileMatch": [
"^Makefile$"
],
"matchStrings": [
"MARKDOWNLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*) (lookupName=(?<lookupName>.*))? (versioning=(?<versioning>.*))?"
]
}
]
} }