Skip to content

Commit

Permalink
Do not force push existing branch when checking for new TigerBeetle r…
Browse files Browse the repository at this point in the history
…eleases via GitHub Actions
  • Loading branch information
tyranron committed Dec 17, 2024
1 parent 078dd74 commit 0399505
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/check-new-ver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,34 @@ on:

jobs:
check:
if: ${{ false }} # TODO: Re-enable once #38 is merged.
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/branch-exists@v1.1
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-${{ steps.new.outputs.version }}
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' }}

0 comments on commit 0399505

Please sign in to comment.