diff options
author | Christian Segundo | 2023-12-30 05:28:03 +0100 |
---|---|---|
committer | Christian Segundo | 2023-12-31 00:20:01 +0100 |
commit | 786cd19a227a20b352b0764c9546c35fa5249ce8 (patch) | |
tree | 2613c346a3ed97cc399656d6e3d27ac906738e46 /tasks/markdownlint/task.yml | |
parent | 2f0253c36f80b8f11e3294d184a5e73d0fec76a4 (diff) | |
download | concourse-786cd19a227a20b352b0764c9546c35fa5249ce8.tar.gz |
add tasks
Diffstat (limited to 'tasks/markdownlint/task.yml')
-rw-r--r-- | tasks/markdownlint/task.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tasks/markdownlint/task.yml b/tasks/markdownlint/task.yml new file mode 100644 index 0000000..62c5921 --- /dev/null +++ b/tasks/markdownlint/task.yml @@ -0,0 +1,24 @@ +--- +platform: linux +image_resource: + type: registry-image + source: + repository: ghcr.io/igorshubovych/markdownlint-cli + tag: latest + +inputs: + - name: repo + +run: + path: ash + args: + - -eufo + - pipefail + - -c + - | + echo "PARAMS=${PARAMS:-}" + cd repo + markdownlint ${PARAMS} + +params: + PARAMS: '**/*.md' |