From: Kaliko Jack Date: Sat, 29 Mar 2025 09:27:15 +0000 (+0100) Subject: ci: Add cron event X-Git-Url: http://git.kaliko.me/?a=commitdiff_plain;h=a8163b6ffecd0a35929a6ec32a5dc1acf6ea09fc;p=python-musicpd.git ci: Add cron event --- diff --git a/.woodpecker/notify-failure.yaml b/.woodpecker/notify-failure.yaml index 0ebd3f1..781b64f 100644 --- a/.woodpecker/notify-failure.yaml +++ b/.woodpecker/notify-failure.yaml @@ -11,7 +11,7 @@ steps: - apt update && apt install -q2 -y go-sendxmpp/stable-backports ca-certificates - bash .woodpecker/notify.sh when: - - event: [ push, manual ] + - event: [ push, manual, cron ] depends_on: - tests diff --git a/.woodpecker/notify-success.yaml b/.woodpecker/notify-success.yaml index 7ef2493..5519575 100644 --- a/.woodpecker/notify-success.yaml +++ b/.woodpecker/notify-success.yaml @@ -11,7 +11,7 @@ steps: - apt update && apt install -q2 -y go-sendxmpp/stable-backports ca-certificates - bash .woodpecker/notify.sh when: - - event: [ push, manual ] + - event: [ push, manual, cron ] depends_on: - tests diff --git a/.woodpecker/tests.yaml b/.woodpecker/tests.yaml index 46d393f..86716dc 100644 --- a/.woodpecker/tests.yaml +++ b/.woodpecker/tests.yaml @@ -19,7 +19,7 @@ steps: when: - path: include: ['musicpd.py', 'test.py', '.woodpecker/*'] - event: [ push, tag, manual ] + event: [ push, manual, cron ] - name: build image: python:${PYTHON_VERSION} @@ -32,7 +32,7 @@ steps: - evaluate: 'PYTHON_VERSION in ["3.9", "3.10", "3.11", "3.12"]' path: include: ['pyproject.toml', '.woodpecker/*'] - event: [ push, tag, manual ] + event: [ push, manual, cron ] - name: sphinx image: python:${PYTHON_VERSION} @@ -44,4 +44,4 @@ steps: - evaluate: 'PYTHON_VERSION == "3.12"' path: include: ['doc/**', '.woodpecker/*', 'README.rst'] - event: [push, tag, manual] + event: [ push, manual, cron ]