From a3c384e85646d426eca640721a2171f0899f34b6 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 27 Oct 2024 20:33:42 +0000 Subject: [PATCH] ci: replace deprecated workflow syntax (#2) Reviewed-on: https://gitea.rknet.org/xoxys/helpers/pulls/2 Co-authored-by: Robert Kaussow Co-committed-by: Robert Kaussow --- .woodpecker/docs.yml | 6 ++++-- .woodpecker/notify.yml | 26 -------------------------- .woodpecker/test.yml | 3 +-- 3 files changed, 5 insertions(+), 30 deletions(-) delete mode 100644 .woodpecker/notify.yml diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 4df7ade..2b535ed 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -6,13 +6,15 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - markdownlint: + - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli + depends_on: [] commands: - markdownlint 'README.md' - spellcheck: + - name: spellcheck image: quay.io/thegeeklab/alpine-tools + depends_on: [] commands: - spellchecker --files 'README.md' -d .dictionary -p spell indefinite-article syntax-urls environment: diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml deleted file mode 100644 index a851904..0000000 --- a/.woodpecker/notify.yml +++ /dev/null @@ -1,26 +0,0 @@ ---- -when: - - event: [tag] - - event: [push, manual] - branch: - - ${CI_REPO_DEFAULT_BRANCH} - -runs_on: [success, failure] - -steps: - matrix: - image: quay.io/thegeeklab/wp-matrix - settings: - homeserver: - from_secret: matrix_homeserver - password: - from_secret: matrix_password - roomid: - from_secret: matrix_roomid - username: - from_secret: matrix_username - when: - - status: [success, failure] - -depends_on: - - docs diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 1949fb3..c0cc1fc 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -6,8 +6,7 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - lint: - group: test + - name: lint image: docker.io/koalaman/shellcheck-alpine:stable commands: - grep -ErlI '^#!(.*/|.*env +)(sh|bash|ksh)' ./shell/ | xargs -r shellcheck