From 7f1529eb1c6be69318f95f2ce90b09bcf0eec232 Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Mon, 28 Oct 2024 13:37:20 -0500 Subject: Initial commit --- bin/auto-pr.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bin/auto-pr.ps1 (limited to 'bin/auto-pr.ps1') diff --git a/bin/auto-pr.ps1 b/bin/auto-pr.ps1 new file mode 100644 index 0000000..3a91818 --- /dev/null +++ b/bin/auto-pr.ps1 @@ -0,0 +1,9 @@ +param( + # overwrite upstream param + [String]$upstream = "/:main" +) + +if (!$env:SCOOP_HOME) { $env:SCOOP_HOME = Convert-Path (scoop prefix scoop) } +$autopr = "$env:SCOOP_HOME/bin/auto-pr.ps1" +$dir = "$PSScriptRoot/../bucket" # checks the parent dir +& $autopr -Dir $dir -Upstream $Upstream @Args -- cgit v1.2.3