Skip to content

Commit

Permalink
fix(action): test gitflow hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkookooguy committed Jun 29, 2023
1 parent dd47354 commit abcc0a0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/auto-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@ name: Auto Hotfix If Needed

on:
pull_request:
types: [ closed ]
branches: [ main ]

jobs:
build:
git-flow-finish-hotfix:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'hotfix/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Auto Hotfix If Needed
uses: Kibibit/gitflow-hotfix@v1.0.0
- uses: actions/checkout@v3
- name: Merge hotfix branch into beta branch
uses: Kibibit/gitflow-hotfix@v1.4.0-beta.1
with:
token: ${{ secrets.BOT_TOKEN }}
reviewerToken: ${{ github.token }}
hotfixAgainstBranch: main
openPrAgainstBranch: beta
jobName: git-flow-finish-hotfix

0 comments on commit abcc0a0

Please sign in to comment.