33 Commits

Author SHA1 Message Date
556a2e2006 chore(deps): update dependency igorshubovych/markdownlint-cli to v0.32.2
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
2022-08-21 00:52:28 +02:00
04b1345a71 fix(ci): remove docker socket volume
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 17:36:25 +02:00
a5446ba303 fix(ci): use docker.io/volkerraschek/drone-email:0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-26 16:01:54 +02:00
df22dc8219 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 13:15:30 +02:00
251fe34445 Merge pull request 'chore(deps): update dependency igorshubovych/markdownlint-cli to v0.32.1' (#8) from renovate/igorshubovych-markdownlint-cli-0.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #8
2022-07-25 10:32:13 +00:00
f3aeb335e7 chore(deps): update dependency igorshubovych/markdownlint-cli to v0.32.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-25 12:31:28 +02:00
d2730585a3 fix(renovate): adapt markdownlint version regexp
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 12:28:36 +02:00
595e325c43 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.32.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-19 19:22:09 +02:00
770dc74913 fix: correct auto tag suffix
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 19:15:01 +02:00
4eff9bdbb0 fix: bump to v0.32.0
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 10:31:06 +02:00
67364ffee2 fix: use podman instead of docker
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 10:26:50 +02:00
8c92b356b3 fix(ci): resource limits
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-22 13:09:53 +02:00
29d1ea0ff2 fix(ci): use fully qualified image name
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-22 13:02:12 +02:00
0c87bbe6eb fix(ci): use gitea to sync repo with github
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-03 17:44:42 +02:00
16fc320a9e fix(ci): renovate search condition
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-14 22:03:46 +02:00
126140c94c fix(drone) bump markdown-lint image
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-10 10:09:37 +01:00
67a902acaf fix(drone): force rebuild image
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-10 09:58:10 +01:00
76a6abc21d fix: set workdir
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-10 09:40:13 +01:00
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
ec2286d332 fix(ci): renovate rebase conditions
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-30 12:13:14 +02:00
c3fff14a26 fix(ci): change automergeType to pull request
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-24 16:02:00 +02:00
d928487512 fix(ci): dry-run for pull-requests
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-24 15:33:42 +02:00
b5c1b3ef83 fix(ci): enable automerge
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-24 15:19:51 +02:00
edfdbfb08c Add renovate.json
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-24 15:17:59 +02:00
e13c51ed5a feat: support arm64
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-23 16:55:29 +02:00
3eb3c59ae1 fix(ci): dependencies and conditions
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-12 21:53:03 +02:00
40d7da11c1 fix: README
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-08 19:44:53 +02:00
d748da0378 fix: Makefile
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-08 19:38:08 +02:00
6 changed files with 461 additions and 185 deletions

View File

@ -5,33 +5,34 @@ name: linter
platform:
os: linux
arch: amd64
steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.28.1
image: docker.io/volkerraschek/markdownlint:0.32.1
resources:
limits:
cpu: 50
memory: 50M
cpu: 150
memory: 150M
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
when:
status:
- changed
@ -41,6 +42,175 @@ trigger:
event:
exclude:
- tag
---
kind: pipeline
type: docker
name: dry-run-amd64
platform:
os: linux
arch: amd64
steps:
- name: build
image: docker.io/plugins/docker:latest
settings:
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: docker
name: dry-run-arm-v7
platform:
os: linux
arch: arm
steps:
- name: build
image: docker.io/plugins/docker:latest
settings:
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
tags: latest-arm-v7
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: docker
name: dry-run-arm64-v8
platform:
os: linux
arch: arm64
steps:
- name: build
image: docker.io/plugins/docker:latest
settings:
auto_tag: false
dry_run: true
force_tag: true
no_cache: true
purge: true
tags: latest-arm64-v8
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: docker
@ -52,54 +222,53 @@ platform:
steps:
- name: build
image: plugins/docker
image: docker.io/plugins/docker:latest
settings:
dockerfile: Dockerfile
auto_tag: false
force_tag: true
no_cache: true
purge: true
tags: latest-amd64
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
when:
branch:
- master
- name: notify
image: drillster/drone-email
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger:
branch:
- master
event:
exclude:
- tag
- cron
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: docker
name: latest-armv7
name: latest-arm-v7
platform:
os: linux
@ -107,49 +276,102 @@ platform:
steps:
- name: build
image: plugins/docker
image: docker.io/plugins/docker:latest
settings:
dockerfile: Dockerfile
auto_tag: false
tags: latest-armv7
force_tag: true
no_cache: true
purge: true
tags: latest-arm-v7
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
no_cache: true
when:
branch:
- master
- name: notify
image: drillster/drone-email
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
volumes:
- name: docker_socket
path: /var/run/docker.sock
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
depends_on:
- linter
trigger:
branch:
- master
event:
exclude:
- tag
- cron
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: docker
name: latest-arm64-v8
platform:
os: linux
arch: arm64
steps:
- name: build
image: docker.io/plugins/docker:latest
settings:
auto_tag: false
force_tag: true
no_cache: true
purge: true
tags: latest-arm64-v8
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
@ -158,7 +380,7 @@ name: latest-manifest
steps:
- name: build-manifest
image: plugins/manifest
image: docker.io/plugins/manifest:latest
settings:
auto_tag: false
ignore_missing: true
@ -168,21 +390,23 @@ steps:
password:
from_secret: container_image_registry_password
- name: notify
image: docker.io/drillster/drone-email:latest
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
when:
status:
- changed
@ -190,12 +414,17 @@ steps:
depends_on:
- latest-amd64
- latest-armv7
- latest-arm-v7
- latest-arm64-v8
trigger:
branch:
- master
event:
exclude:
- tag
- cron
- push
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
@ -208,11 +437,13 @@ platform:
steps:
- name: build
image: plugins/docker
image: docker.io/plugins/docker:latest
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: amd64
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
@ -220,32 +451,25 @@ steps:
from_secret: container_image_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify
image: drillster/drone-email
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger:
event:
- tag
@ -255,7 +479,7 @@ trigger:
---
kind: pipeline
type: docker
name: tagged-armv7
name: tagged-arm-v7
platform:
os: linux
@ -263,11 +487,13 @@ platform:
steps:
- name: build
image: plugins/docker
image: docker.io/plugins/docker:latest
settings:
dockerfile: Dockerfile
auto_tag: true
auto_tag_suffix: armv7
auto_tag_suffix: arm-v7
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
@ -275,31 +501,74 @@ steps:
from_secret: container_image_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
no_cache: true
volumes:
- name: docker_socket
path: /var/run/docker.sock
- name: notify
image: drillster/drone-email
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
volumes:
- name: docker_socket
host:
path: /var/run/docker.sock
trigger:
event:
- tag
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: docker
name: tagged-arm64-v8
platform:
os: linux
arch: arm64
steps:
- name: build
image: docker.io/plugins/docker:latest
settings:
auto_tag: true
auto_tag_suffix: arm64-v8
force_tag: true
no_cache: true
purge: true
repo: volkerraschek/markdownlint
username:
from_secret: container_image_registry_user
password:
from_secret: container_image_registry_password
build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG}
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
trigger:
event:
@ -314,7 +583,7 @@ name: tagged-manifest
steps:
- name: build-manifest
image: plugins/manifest
image: docker.io/plugins/manifest:latest
settings:
auto_tag: true
ignore_missing: true
@ -324,21 +593,23 @@ steps:
password:
from_secret: container_image_registry_password
- name: notify
image: docker.io/drillster/drone-email:latest
- name: email-notification
environment:
PLUGIN_HOST:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
SMTP_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
SMTP_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 50
memory: 25M
cpu: 150
memory: 150M
when:
status:
- changed
@ -346,59 +617,11 @@ steps:
depends_on:
- tagged-amd64
- tagged-armv7
- tagged-arm-v7
- tagged-arm64-v8
trigger:
event:
- tag
repo:
- volker.raschek/markdownlint-docker
---
kind: pipeline
type: kubernetes
name: sync
platform:
os: linux
arch: amd64
steps:
- name: github
image: docker.io/appleboy/drone-git-push:latest
resources:
limits:
cpu: 50
memory: 25M
settings:
branch: master
remote: ssh://git@github.com/volker-raschek/markdownlint-docker.git
force: true
ssh_key:
from_secret: ssh_key
- name: email-notification
environment:
PLUGIN_HOST:
from_secret: smtp_host
PLUGIN_USERNAME:
from_secret: smtp_username
PLUGIN_PASSWORD:
from_secret: smtp_password
PLUGIN_FROM:
from_secret: smtp_mail_address
image: docker.io/drillster/drone-email:latest
resources:
limits:
cpu: 50
memory: 25M
when:
status:
- changed
- failure
trigger:
event:
- push
repo:
- volker.raschek/markdownlint-docker

View File

@ -1,18 +1,19 @@
FROM docker.io/library/alpine:3.12
FROM docker.io/library/node:lts-alpine3.16 AS build
ARG NODEJS_VERSION=12.22.6-r0
ARG MARKDOWNLINT_VERSION
ARG MARKDOWNLINT_VERSION=master
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 if [ -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli; fi
RUN set -ex && \
npm cache clean --force && \
apk del nodejs-npm
RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \
cd /markdownlint && \
npm install --production && \
npm install --global
WORKDIR /work
ENTRYPOINT ["/usr/bin/markdownlint"]
CMD ["."]
RUN ln -fs /work /workspace
ENTRYPOINT [ "/usr/local/bin/markdownlint" ]

View File

@ -1,12 +1,11 @@
# MARKDOWNLINT_VERSION
# Only required to install a specifiy version
MARKDOWNLINT_VERSION?=
MARKDOWNLINT_VERSION?=v0.32.2 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a
# container runtime. This is needed to start and run a container image.
CONTAINER_RUNTIME?=$(shell which docker)
CONTAINER_RUNTIME?=$(shell which podman)
# MARKDOWNLINT_IMAGE_REGISTRY_NAME
# Defines the name of the new container to be built using several variables.

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# markdownlint-docker
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/markdownlint-docker/status.svg)](https://drone.cryptic.systems/volker.raschek/markdownlint-docker)
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/markdownlint)](https://hub.docker.com/r/volkerraschek/markdownlint)
This project contains all sources to build the container image
`docker.io/volkerraschek/markdownlint`. The primary goal of this project is to
packge the binary `markdownlint-ci` as container image. The source code of the
binary can be found in the upstream project of
[igorshubovych](https://github.com/igorshubovych/markdownlint-cli).
The workflow or how `markdownlint-ci` can in general be used is documented
[here](https://github.com/igorshubovych/markdownlint-cli#usage).

View File

@ -13,8 +13,14 @@ manifests:
architecture: amd64
os: linux
-
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-armv7
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
platform:
architecture: arm
os: linux
variant: v7
variant: v7
-
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform:
architecture: arm64
os: linux
variant: v8

34
renovate.json Normal file
View File

@ -0,0 +1,34 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assignees": [ "volker.raschek" ],
"automergeStrategy": "merge-commit",
"automergeType": "pr",
"labels": [ "renovate" ],
"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>.*))?"
]
}
]
}