From a6731b379e3647b70aba929b3435220d25cbff06 Mon Sep 17 00:00:00 2001 From: "Wilson E. Husin" Date: Wed, 3 Apr 2024 11:00:17 -0700 Subject: [PATCH] Let gh do push --- .github/workflows/sync.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index 8f6eb72..0a42f09 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -44,7 +44,11 @@ jobs: git config --global user.name "FireHydrant Bot" git add . git commit -m "Regenerate Swagger code ${today}" - git push -u origin HEAD - gh pr create --title "Regenerate Swagger code ${today}" --body "Regenerate Swagger code ${today}" --base main + gh pr create \ + --title "Regenerate Swagger code ${today}" \ + --body "Regenerate Swagger code ${today}" \ + --base main \ + --head "${today}" \ + --reviewer firehydrant/open-source-maintainers env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}