Skip to content

Commit

Permalink
Fix false negative for not catching runner if earlier job was on host…
Browse files Browse the repository at this point in the history
…ed/larger runner. (#12)
  • Loading branch information
AdnaneKhan authored Aug 16, 2024
1 parent 4209110 commit bc22f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gatox/github/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __process_run_log(self, log_content: bytes, run_info: dict):
# they will have the image name. Skip if we see this.
# If the log contains "job is about to start running on hosted runner",
# the runner is a Github hosted runner so we can skip it.
break
continue
elif "Self-hosted runners in the repository are disabled" in content:
break
index = 0
Expand Down

0 comments on commit bc22f55

Please sign in to comment.