Skip to content

Commit

Permalink
ci: can't start automerge before PR create
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Oct 25, 2023
1 parent 035307c commit 7079a7f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,13 @@ validate: ## Run all checks
make type-check
make test

create-and-merge-pr:
create-pr:
gh pr create -w || true

merge-pr:
gh pr merge --auto --merge --delete-branch

pr: ## Run relevant tests before PR
make create-and-merge-pr
make validate
make create-pr
make validate
make merge-pr

0 comments on commit 7079a7f

Please sign in to comment.