mirror of
https://github.com/django-components/django-components.git
synced 2025-09-26 15:39:08 +00:00
refactor: Wait for PR status checks when pushing benchmarks (#1050)
* refactor: skip PR status checks when pushing benchmarks * refactor: wait for status checks
This commit is contained in:
parent
293b933aaa
commit
a2aa743947
1 changed files with 5 additions and 2 deletions
7
.github/workflows/docs.yml
vendored
7
.github/workflows/docs.yml
vendored
|
@ -141,11 +141,14 @@ jobs:
|
|||
PR_URL="$(gh pr create --title "chore: Add benchmark results for ${TAG}" --body "Add benchmark results for ${TAG}" --base master)"
|
||||
echo "PR URL: ${PR_URL}"
|
||||
|
||||
# 4. Merge the PR and delete the branch
|
||||
# 4. Wait for the PR status checks to pass
|
||||
gh pr checks "${PR_URL}" --watch
|
||||
|
||||
# 5. Merge the PR and delete the branch
|
||||
gh pr merge "${PR_URL}" --admin --squash --delete-branch
|
||||
echo "Benchmark results pushed to master."
|
||||
|
||||
# 5. Go back to the original branch
|
||||
# 6. Go back to the original branch
|
||||
git checkout master
|
||||
git pull origin master
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue