omsf-eco-infra / gha-runner

A simple GitHub Action for creating cloud-based self-hosted runners.
MIT License
0 stars 3 forks source link

feat: Add GitHub timeout #22

Closed ethanholz closed 3 months ago

ethanholz commented 3 months ago

The purpose of this PR is to add the required changes to enable a configurable timeout on waiting for the runner to become registered with GitHub.

ethanholz commented 3 months ago

This is still work in progress will need to update the README to reflect these changes.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.70%. Comparing base (065a4a8) to head (2e83946).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #22 +/- ## ========================================== + Coverage 94.64% 94.70% +0.05% ========================================== Files 3 3 Lines 299 302 +3 ========================================== + Hits 283 286 +3 Misses 16 16 ``` | [Flag](https://app.codecov.io/gh/omsf-eco-infra/gha-runner/pull/22/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=omsf-eco-infra) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/omsf-eco-infra/gha-runner/pull/22/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=omsf-eco-infra) | `94.70% <100.00%> (+0.05%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=omsf-eco-infra#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ethanholz commented 3 months ago

Related to #20

ethanholz commented 3 months ago

This seems to resolve the changes requested, let me know if there is anything else I can change!