vsoch / pull-request-action

open a pull request when a branch is pushed or updated
https://github.com/marketplace/actions/pull-request-action
MIT License
173 stars 62 forks source link

Add retry for opening PR #95

Closed vsoch closed 1 year ago

vsoch commented 1 year ago

Arguably, we would get around a lot of the rate limiting issues if we add a simple retry! I can work on this soon.

vsoch commented 1 year ago

If anyone wants to test this on their repos, please use this branch: https://github.com/vsoch/pull-request-action/pull/96

- name: Open Pull Request
      uses: vsoch/pull-request-action@add/retry
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        PULL_REQUEST_BRANCH: "main"

I'm adding to some of my repos that have failed due to rate limits to see if it makes a difference, and if the defaults I've set are reasonable.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.