Skip to content

Add Retry option to Add-to-project action #700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

zwick
Copy link

@zwick zwick commented Jun 11, 2025

Context

Users of this action have reported failing tasks due to a race condition with this action. The above linked PR suggested adding a retry capability to the Octokit call. A plugin exists for Octokit to retry failed requests utilizing a standard Backoff and was leveraged for this functionality.

Changes

  • Added retry-limit as optional input, default of 0 for backwards compatibility
  • Installed and imported octokit-retry package to action

@zwick zwick self-assigned this Jun 11, 2025
@zwick zwick added enhancement New feature or request dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 11, 2025
- Imported octokit-retry package to action
@zwick zwick force-pushed the zwick/add-retries branch from b7befbf to 095d3fc Compare June 11, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant