Skip to content

v0.5.24 - Fail publish runs when GitHub can't create the release, retrying transient server errors first (#951)

Choose a tag to compare

@github-actions github-actions released this 04 Nov 00:11
· 5 commits to main since this release
dc8843e

🌟 Summary

Release publishing is now more reliable: failed GitHub release creation is retried when appropriate, and genuine failures no longer pass unnoticed.

📊 Key Changes

  • 🔁 Retries GitHub release requests after server errors, with waits of 30 seconds and then 60 seconds.
  • ✅ If GitHub does not return its usual success response, checks whether the release exists before deciding the operation failed.
  • 🧪 Adds tests for successful creation and recovery from a server error. No model changes are included.

🎯 Purpose & Impact

  • 🚨 Prevents publishing workflows from appearing successful when a GitHub release was never created.
  • 🔎 Surfaces persistent problems—such as outages or invalid credentials—at the release step, making them easier to diagnose.
  • 🛡️ Handles cases where GitHub creates a release but returns an error, avoiding a false failure when the release can be verified.

What's Changed

  • Fail publish runs when GitHub can't create the release, retrying transient server errors first by @glenn-jocher in #951

Full Changelog: v0.5.23...v0.5.24