ci: replace deprecated workflow syntax #2

Merged
xoxys merged 1 commits from add-trivy into main 2024-10-27 20:33:42 +00:00
3 changed files with 5 additions and 30 deletions
Showing only changes of commit 8f974316c2 - Show all commits

View File

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

View File

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

View File

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