mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 08:10:00 +00:00
Compare commits
4 Commits
f6c61dc5c5
...
d6fe76f014
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d6fe76f014 | ||
![]() |
5f1bb68723 | ||
![]() |
ac4d67146e | ||
![]() |
5cca2ca149 |
12
.github/actions/runner-fallback/action.yml
vendored
12
.github/actions/runner-fallback/action.yml
vendored
@ -40,7 +40,17 @@ runs:
|
|||||||
runners=$(curl -s -H "Authorization: Bearer $TOKEN" \
|
runners=$(curl -s -H "Authorization: Bearer $TOKEN" \
|
||||||
-H "Accept: application/vnd.github+json" \
|
-H "Accept: application/vnd.github+json" \
|
||||||
"https://api.github.com/repos/$repo/actions/runners?per_page=100")
|
"https://api.github.com/repos/$repo/actions/runners?per_page=100")
|
||||||
# Split wanted labels
|
|
||||||
|
# Debug: Print runners content
|
||||||
|
echo "Runners response: $runners"
|
||||||
|
|
||||||
|
# Check if runners is null or empty
|
||||||
|
if [ -z "$runners" ] || [ "$runners" = "null" ]; then
|
||||||
|
echo "❌ Error: Unable to fetch runners or no runners found." >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Process runners only if valid
|
||||||
IFS=',' read -ra WANT <<<"$PRIMARY"
|
IFS=',' read -ra WANT <<<"$PRIMARY"
|
||||||
online_found=0
|
online_found=0
|
||||||
while read -r row; do
|
while read -r row; do
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
<!-- [](https://github.com/Magnus167/rustframe) -->
|
<!-- [](https://github.com/Magnus167/rustframe) -->
|
||||||
[](https://codecov.io/gh/Magnus167/rustframe)
|
[](https://codecov.io/gh/Magnus167/rustframe)
|
||||||
[](https://magnus167.github.io/rustframe/rustframe/tarpaulin-report.html)
|
[](https://magnus167.github.io/rustframe/docs/tarpaulin-report.html)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user