-
-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (31 loc) · 879 Bytes
/
Copy pathupdate-prek.yml
File metadata and controls
37 lines (31 loc) · 879 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
36
37
name: Update prek
on:
schedule:
- cron: 0 0 * * 0
workflow_dispatch:
permissions:
pull-requests: write
contents: write
jobs:
release:
name: Update prek
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6.0.3
with:
fetch-depth: 1
submodules: true
- uses: astral-sh/setup-uv@v8.1.0
- run: uv tool install prek
- run: prek autoupdate
- name: Open pull request
uses: peter-evans/create-pull-request@v8.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
delete-branch: true
title: Update prek
body: Automatically update prek hooks
commit-message: 'chore: Update prek'
committer: 'Stranger6667 <dmitry@dygalo.dev>'
author: 'Stranger6667 <dmitry@dygalo.dev>'
branch: "create-pull-request/update-prek"