Skip to content

Commit

Permalink
+59
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 18, 2024
1 parent 1aaabf8 commit 7a7f9dc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ jobs:
$main_repo_url = '${{ github.server_url }}/${{ github.repository }}'
Write-Host "fetching commits of: $main_repo_url"
git clone --filter=tree:0 $main_repo_url
git fetch
git fetch $main_repo_url
git branch -r
$core_removed_pr_nums = @()
Expand All @@ -217,8 +217,8 @@ jobs:
$is_trivial = false
}
if ($is_trivial) {
Write-Host "Is trivial, removing"
git push origin --delete $branch_name
Write-Host "Is trivial, removing..."
# git push origin --delete $branch_name
$core_removed_pr_nums += $pr_num
}
Write-Host '~~~~~'
Expand All @@ -236,7 +236,8 @@ jobs:
if ($core_pretest_pr_nums -contains $pr_num) {
Write-Host "But main repo is still referencing it"
} else {
git push origin --delete "pretest/$pr_num"
Write-Host "Removing..."
# git push origin --delete "pretest/$pr_num"
}
Write-Host '~~~~~'
}
Expand Down

0 comments on commit 7a7f9dc

Please sign in to comment.