-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1.07 KB
/
bump.yml
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
38
39
name: Bump
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * 1" # "At 08:00 on Monday"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
bump:
name: Bump rendered version if changed
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Setup uv
uses: yezz123/setup-uv@v4
- name: Install Hatch
run: uv pip install --system "hatch>=1.10"
- name: Run bump script
run: |
hatch run tools/sync.py
git status
git diff
- uses: peter-evans/create-pull-request@v6
with:
title: "chore(deps): bump versions"
body: |
Update the stored schema files.
PR generated by "Update dependencies" [workflow](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). Close and reopen to trigger ci.
delete-branch: true