Skip to content

Prevent exit code 7 in Workflow Status Action#17

Merged
martialonline merged 2 commits into
martialonline:masterfrom
ThanosTsiamis:master
Oct 29, 2025
Merged

Prevent exit code 7 in Workflow Status Action#17
martialonline merged 2 commits into
martialonline:masterfrom
ThanosTsiamis:master

Conversation

@ThanosTsiamis

Copy link
Copy Markdown
Contributor

Solves #16

This PR adds two small but effective safeguards:

Default API base URL to https://api.github.com if GITHUB_API_URL is unset.

Add retry and timeout options (--retry 5 --retry-delay 2 --connect-timeout 10) to both curl calls.

These minimal changes make the action resilient to temporary DNS or network hiccups without altering its logic or outputs.

Comment thread action.yml Outdated

@martialonline martialonline left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks for your contribution! 🚀

@martialonline
martialonline merged commit 326830c into martialonline:master Oct 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants