Skip to content

Commit

Permalink
chore: add condition to release candidate workflow
Browse files Browse the repository at this point in the history
Prevents running the workflow when a merge is made from a branch created by the release candidate workflow itself
  • Loading branch information
tomjholland committed Jan 2, 2025
1 parent 35b33bd commit 80cf916
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/create-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
create-rc:
if: ${{ !contains(github.event.head_commit.message, 'release-candidates/') }}
runs-on: ubuntu-latest

permissions:
Expand Down

0 comments on commit 80cf916

Please sign in to comment.