Renovate Bot cd55cfa682
All checks were successful
Lint / pre-commit Autoupdate (push) Successful in 5m4s
Auto Maintenance Cycle / pre-commit (push) Successful in 32s
chore(deps): update actions/setup-python action to v5 (#37)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-python](https://github.com/actions/setup-python) | action | major | `v4` -> `v5` |

---

### Release Notes

<details>
<summary>actions/setup-python (actions/setup-python)</summary>

### [`v5`](https://github.com/actions/setup-python/compare/v4...v5)

[Compare Source](https://github.com/actions/setup-python/compare/v4...v5)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4xMC40IiwidXBkYXRlZEluVmVyIjoiNDAuMTAuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Reviewed-on: #37
Co-authored-by: Renovate Bot <renovate@horstenkamp.eu>
Co-committed-by: Renovate Bot <renovate@horstenkamp.eu>
2025-05-09 03:39:29 +02:00

47 lines
1.4 KiB
YAML

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.