-
Notifications
You must be signed in to change notification settings - Fork 8
38 lines (33 loc) · 1.1 KB
/
check-new-ver.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
name: Check new version
on:
schedule:
- cron: "42 7 * * *"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: .github/upgrade-ver.sh
id: new
- name: Check whether Pull Request branch exists already
uses: GuillaumeFalourd/[email protected]
id: pr-branch
with:
branch: upgrade-to-tigerbeetle-${{ steps.new.outputs.version }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: Upgrade to ${{ steps.new.outputs.version }} TigerBeetle
branch: upgrade-to-tigerbeetle-${{ steps.new.outputs.version }}
delete-branch: true
draft: true
sign-commits: true
signoff: true
title: Upgrade to ${{ steps.new.outputs.version }} TigerBeetle
body: Upgrade to new ${{ steps.new.outputs.version }} version of TigerBeetle.
labels: |
enhancement
k::dependencies
k::version
zig
if: ${{ steps.pr-branch.outputs.exists == 'false' }}