diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 5bc311131..8b1275e15 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -34,5 +34,5 @@ jobs: git config --local user.name "github-actions[bot]" git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git git fetch origin - git commit -am "I have generated the latest API!" - git push origin ${{github.event.pull_request.head.ref }} + git commit -am "I have generated the latest API!" || true + git push origin ${{github.event.pull_request.head.ref }} || true