You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a422df8
Browse filesBrowse the repository at this point in the historyBrowse files
gh api --method DELETE "repos/${GITHUB_REPOSITORY}/git/refs/heads/feature/robot-status" || true
25
+
26
+
for workflow in 1-clone-and-branch.yml 2-working-tree-staging-commit.yml 3-history-restore-vscode.yml 4-remotes-and-pull-request.yml 5-review-merge.yml; do
27
+
state="$(gh api "repos/${GITHUB_REPOSITORY}/actions/workflows/$workflow" --jq '.state' 2>/dev/null || true)"
28
+
if [ "$state" = "active" ]; then
29
+
gh api --method PUT "repos/${GITHUB_REPOSITORY}/actions/workflows/$workflow/disable"
30
+
fi
31
+
done
32
+
33
+
step0="$(gh api "repos/${GITHUB_REPOSITORY}/actions/workflows/0-start-exercise.yml" --jq '.state' 2>/dev/null || true)"
34
+
if [ "$step0" != "active" ]; then
35
+
gh api --method PUT "repos/${GITHUB_REPOSITORY}/actions/workflows/0-start-exercise.yml/enable"
0 commit comments