We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deaf672 commit 0841496Copy full SHA for 0841496
.github/workflows/gate_postcommits.yml
@@ -41,7 +41,8 @@ jobs:
41
42
echo "$j1" | sed '$d' | jq "$query" | while read x;do
43
echo "Runner: $x"
44
- if (( queue_size > 0 ));then
+ # temporary solution for https://www.githubstatus.com/incidents/m70hk23gx3nx (some workflows are uncancellable stuck)
45
+ if (( queue_size > 10 ));then
46
curl -Ls -X DELETE -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{secrets.GH_PERSONAL_ACCESS_TOKEN}}" \
47
-H "X-GitHub-Api-Version: 2022-11-28" \
48
https://api.github.com/repos/${{github.repository}}/actions/runners/$x/labels/postcommit
0 commit comments