From c1764ee42b192379bff9187ce9f17b80de6ac9f8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 11 Aug 2023 14:53:41 +0200 Subject: [PATCH] fix required status checks (#3) --- .github/settings.yml | 1 - .woodpecker/docs.yml | 20 ++++++++++++++++++++ .woodpecker/notify.yml | 1 + .woodpecker/release.yml | 9 +-------- 4 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 .woodpecker/docs.yml diff --git a/.github/settings.yml b/.github/settings.yml index 1371f99..115f3e3 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -52,7 +52,6 @@ branches: contexts: - ci/woodpecker/pr/test - ci/woodpecker/pr/release - - ci/woodpecker/pr/container enforce_admins: true required_linear_history: true restrictions: null diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml new file mode 100644 index 0000000..6ff6e58 --- /dev/null +++ b/.woodpecker/docs.yml @@ -0,0 +1,20 @@ +--- +when: + - event: [pull_request, tag] + - event: [push, manual] + branch: + - ${CI_REPO_DEFAULT_BRANCH} + +steps: + markdownlint: + image: quay.io/thegeeklab/markdownlint-cli + commands: + - markdownlint 'README.md' 'CONTRIBUTING.md' + + spellcheck: + image: quay.io/thegeeklab/alpine-tools + commands: + - spellchecker --files 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions + environment: + FORCE_COLOR: "true" + NPM_CONFIG_LOGLEVEL: "error" diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index d4ee06b..2b8ad82 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -28,4 +28,5 @@ steps: depends_on: - test + - docs - release diff --git a/.woodpecker/release.yml b/.woodpecker/release.yml index a431ae6..57391fc 100644 --- a/.woodpecker/release.yml +++ b/.woodpecker/release.yml @@ -6,11 +6,6 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - checksum: - image: docker.io/alpine - commands: - - sha256sum retry > sha256sum.txt - changelog-generate: image: quay.io/thegeeklab/git-chglog commands: @@ -28,9 +23,6 @@ steps: settings: api_key: from_secret: github_token - files: - - retry - - sha256sum.txt note: CHANGELOG.md overwrite: true title: ${CI_COMMIT_TAG} @@ -39,3 +31,4 @@ steps: depends_on: - test + - docs