Philipp Horstenkamp 61e2a676ec
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 30s
Now not using ssh.
2023-11-19 01:38:04 +01:00

35 lines
742 B
YAML

name: Auto Maintenance Cycle
on:
schedule:
- cron: '* 1 * * 0'
push:
#paths:
#- .gitea/workflows/maintenance.yaml
jobs:
auto-update:
name: pre-commit Autoupdate
runs-on: pi64
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- run: pip install pre-commit
shell: bash
- run: pre-commit autoupdate
shell: bash
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: update pre-commit hooks'
branch: update/pre-commit-hooks
push_options: --force
create_branch: true
- name: Run My Action
uses: ./
with:
branch: ${{ github.ref }}
github_token: ${{ secrets.GITHUB_TOKEN }}