From 24aaa5ef66cdb38aa2cd2a7865f4d6c74abb3f57 Mon Sep 17 00:00:00 2001 From: Lleyton Gray Date: Mon, 5 Feb 2024 00:20:26 -0800 Subject: [PATCH] feat: begin work on update PR strategy --- .github/workflows/update.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 97354ee012..eb011c8769 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -50,5 +50,16 @@ jobs: copy_over f37 || true copy_over f38 || true copy_over frawhide || true + git remote add raboneko git@github.com:raboneko/packages.git git push -u origin --all + + gh pr create --title "$msg" --body "Automatic update from Raboneko!" --label "auto-update" --base "f37" --head "raboneko:f37" + gh pr create --title "$msg" --body "Automatic update from Raboneko!" --label "auto-update" --base "f38" --head "raboneko:f38" + gh pr create --title "$msg" --body "Automatic update from Raboneko!" --label "auto-update" --base "frawhide" --head "raboneko:frawhide" + gh pr create --title "$msg" --body "Automatic update from Raboneko!" --label "auto-update" --base "f39" --head "raboneko:f39" + + gh pr merge --auto --squash raboneko:f37 + gh pr merge --auto --squash raboneko:f38 + gh pr merge --auto --squash raboneko:frawhide + gh pr merge --auto --squash raboneko:f39 fi