2 Commits

Author SHA1 Message Date
4cb11d4d5f Delete .gitea/workflows/maintenance.yaml (#40)
All checks were successful
Lint / pre-commit Autoupdate (push) Successful in 1m22s
Reviewed-on: #40
2025-07-13 14:53:58 +02:00
5123931e83 chore: update pre-commit hooks
All checks were successful
Lint / pre-commit Autoupdate (push) Successful in 1m27s
Auto Maintenance Cycle / pre-commit (push) Successful in 2m21s
2025-06-30 00:01:33 +00:00
2 changed files with 1 additions and 47 deletions

View File

@ -1,46 +0,0 @@
name: Auto Maintenance Cycle
on:
schedule:
- cron: 0 0 * * *
jobs:
auto-update:
name: pre-commit
runs-on: pi64
env:
SPECIFIC_BRANCH: chore/update-pre-commit
steps:
- name: Check actor
run: echo "Actor ${{ github.actor }}"
- uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_TOKEN_SERVER }}
- uses: actions/setup-python@v5
- run: pip install pre-commit
shell: bash
- run: pre-commit autoupdate
shell: bash
- name: Test pre-commit
run: SKIP=no-commit-to-branch pre-commit run -a
- name: Commit
id: auto-commit-action
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: update pre-commit hooks'
branch: ${{ env.SPECIFIC_BRANCH }}
create_branch: true
push_options: --force
commit_user_name: runner
commit_user_email: git@horstenkamp.eu
commit_author: runner <git@horstenkamp.eu>
- name: Generate Date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
- name: Create an PR action
if: steps.auto-commit-action.outputs.changes_detected == 'true'
uses: https://git.horstenkamp.eu/Philipp/gitea-act-create-pr@main
with:
token: ${{ secrets.REPO_TOKEN_SERVER }}
branch: ${{ env.SPECIFIC_BRANCH }}
title: Updates to the pre-commit action created at ${{ env.CURRENT_DATE }}
body: Update to the pre-commit action.

View File

@ -25,7 +25,7 @@ repos:
args: [--branch, main]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.14.0
rev: v2.15.0
hooks:
- id: pretty-format-ini
args: [--autofix]