add retry logic to the action#5
Merged
Merged
Conversation
9dd7f36 to
83872e6
Compare
83872e6 to
269018a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds configurable retry logic for enqueuing pull requests, allowing users to specify how many times to retry and how long to wait between retries if the initial enqueue attempt fails. It also updates documentation and input defaults to reflect these new options.
Enqueue Retry Logic Enhancements:
enqueue-retriesandenqueue-retry-sleepinputs to allow configuration of retry attempts and sleep duration between retries when enqueuing a PR fails. Defaults are 6 retries and 5000ms sleep. Setting either to 0 disables the respective behavior. (action.yml,src/api.js,README.md) [1] [2] [3] [4] [5] [6]src/api.js) [1] [2]Documentation and Input Updates:
README.mdand input tables to document the new retry options, including usage examples. [1] [2]src/__tests__/index.test.js)action.yml.Other Updates:
action.ymland updated package version to0.0.5. (action.yml,package.json) [1] [2]