Skip to content

Commit

Permalink
Let gh do push
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonehusin committed Apr 3, 2024
1 parent 33c6154 commit a6731b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit a6731b3

Please sign in to comment.