From b250b67343b3eea8f8a3221ab4afdaa1149b2aae Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Mon, 23 Oct 2023 19:50:51 +0200 Subject: [PATCH] Auto maintance push (#258) Added that the maintance action allso runs on changes of itself. --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: philipp-horstenkamp --- .github/workflows/maintenance.yaml | 3 +++ .pre-commit-config.yaml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maintenance.yaml b/.github/workflows/maintenance.yaml index a723e58..835245a 100644 --- a/.github/workflows/maintenance.yaml +++ b/.github/workflows/maintenance.yaml @@ -3,6 +3,9 @@ name: Auto Maintenance Cycle on: schedule: - cron: 30 7 * * * + push: + paths: + - .github/workflows/maintenance.yaml jobs: delete_all_untagged: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9dafcba..8784a3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,13 +28,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.1.0 + rev: v0.1.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.10.0 hooks: - id: black args: [--config=pyproject.toml] @@ -56,7 +56,7 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.0 + rev: v1.6.1 hooks: - id: mypy additional_dependencies: