Files
gitea-act-create-pr/.gitea/workflows/maintenance.yaml
Philipp Horstenkamp 8bfaf7cd5b
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 33s
Added more rights
2023-11-19 19:32:43 +01:00

38 lines
864 B
YAML

name: Auto Maintenance Cycle
on:
schedule:
- cron: '* 1 * * 0'
push:
jobs:
auto-update:
name: pre-commit Autoupdate
runs-on: pi64
permissions:
contents: write
pull-requests: write
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: My PR action
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: update/pre-commit-hooks
title: My PR Title
body: My PR Body
assignees: Philipp
reviewers: Philipp