Skip to content

Commit a70536a

Browse files
authored
chore: improve fix workflow
1 parent 65f08b9 commit a70536a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/fix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
- run: |
1515
PR_NEXT=$(gh pr create --base next --head main --title "chore: apply quick fix from main" --output json | jq -r '.number')
1616
gh pr review $PR_NEXT --approve --body "auto-approved quick fix"
17+
gh pr merge $PR_NEXT --auto --merge
1718
PR_DEV=$(gh pr create --base development --head main --title "chore: apply quick fix from main" --output json | jq -r '.number')
1819
gh pr review $PR_DEV --approve --body "auto-approved quick fix"
20+
gh pr merge $PR_DEV --auto --merge
1921
env:
2022
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)