-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (30 loc) · 870 Bytes
/
update-pre-commit.yml
File metadata and controls
35 lines (30 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Update pre-commit
on:
schedule:
- cron: 0 0 * * 0
workflow_dispatch:
permissions:
pull-requests: write
contents: write
jobs:
release:
name: Update pre-commit
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 1
submodules: true
- uses: astral-sh/setup-uv@v7
- run: uvx prek autoupdate
- name: Open pull request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
delete-branch: true
title: Update pre-commit
body: Automatically update pre-commit
commit-message: 'chore: Update pre-commit'
committer: 'Stranger6667 <dmitry@dygalo.dev>'
author: 'Stranger6667 <dmitry@dygalo.dev>'
branch: "create-pull-request/update-pre-commit"