0
0
mirror of https://github.com/thegeeklab/wp-plugin-go.git synced 2024-11-25 09:30:39 +00:00

fix required status checks (#3)

This commit is contained in:
Robert Kaussow 2023-08-11 14:53:41 +02:00 committed by GitHub
parent 8816f37595
commit c1764ee42b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 9 deletions

View File

@ -52,7 +52,6 @@ branches:
contexts: contexts:
- ci/woodpecker/pr/test - ci/woodpecker/pr/test
- ci/woodpecker/pr/release - ci/woodpecker/pr/release
- ci/woodpecker/pr/container
enforce_admins: true enforce_admins: true
required_linear_history: true required_linear_history: true
restrictions: null restrictions: null

20
.woodpecker/docs.yml Normal file
View File

@ -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"

View File

@ -28,4 +28,5 @@ steps:
depends_on: depends_on:
- test - test
- docs
- release - release

View File

@ -6,11 +6,6 @@ when:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}
steps: steps:
checksum:
image: docker.io/alpine
commands:
- sha256sum retry > sha256sum.txt
changelog-generate: changelog-generate:
image: quay.io/thegeeklab/git-chglog image: quay.io/thegeeklab/git-chglog
commands: commands:
@ -28,9 +23,6 @@ steps:
settings: settings:
api_key: api_key:
from_secret: github_token from_secret: github_token
files:
- retry
- sha256sum.txt
note: CHANGELOG.md note: CHANGELOG.md
overwrite: true overwrite: true
title: ${CI_COMMIT_TAG} title: ${CI_COMMIT_TAG}
@ -39,3 +31,4 @@ steps:
depends_on: depends_on:
- test - test
- docs