Test and Lint

This commit is contained in:
2023-10-16 21:52:34 +13:00
parent 5c46cca25c
commit 6365bf0c00
4 changed files with 40 additions and 0 deletions

View File

@@ -13,4 +13,5 @@ steps:
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
${CI_COMMIT_MESSAGE}
depends_on: cron
runs_on: [ success ]

View File

@@ -13,4 +13,5 @@ steps:
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
${CI_COMMIT_MESSAGE}
depends_on: cron
runs_on: [ failure ]

View File

@@ -0,0 +1,19 @@
skip_clone: true
steps:
ntfy-failed:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url: https://ntfy.cybercinch.nz/ci-status
title: Build failed on ${CI_REPO_NAME}
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,rotating_light,no_entry,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
${CI_COMMIT_MESSAGE}
depends_on:
- lint
- test
runs_on: [ failure ]

19
.woodpecker/z.ntfy.yml Normal file
View File

@@ -0,0 +1,19 @@
skip_clone: true
steps:
ntfy-success:
image: codeberg.org/l-x/woodpecker-ntfy
settings:
url: https://ntfy.cybercinch.nz/ci-status
title: Build succeeded on ${CI_REPO_NAME}
priority: urgent
icon: https://woodpecker-ci.org/img/logo.svg
tags: robot,white_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME}
message: >
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
${CI_COMMIT_MESSAGE}
depends_on:
- lint
- test
runs_on: [ success ]