We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a679daf commit b4ecaaaCopy full SHA for b4ecaaa
.github/workflows/stale-branches.yml
@@ -27,12 +27,13 @@ jobs:
27
BRANCHES=$(echo "$RESPONSE" | jq -r '.payload.branches[].name')
28
29
for BRANCH in $BRANCHES; do
30
- echo "Deleting branch $BRANCH..."
31
- DELETE_REPONSE=$(curl -L -s \
+ echo "Deleting branch $BRANCH..."
+ DELETE_RESPONSE=$(curl -L -s \
32
-X DELETE \
33
-H "Accept: application/vnd.github+json" \
34
-H "Authorization: Bearer ${{env.GITHUB_TOKEN}}" \
35
-H "X-GitHub-Api-Version: 2022-11-28" \
36
https://api.github.com/repos/nginx/documentation/git/refs/heads/$BRANCH)
37
+ echo "Delete response for branch $BRANCH: $DELETE_RESPONSE"
38
done
39
0 commit comments