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 a02428c commit 81dc8bbCopy full SHA for 81dc8bb
.github/workflows/pr-cleanup.yml
@@ -48,7 +48,7 @@ jobs:
48
API_URL="https://api.github.com/${API_BASE}/packages/container/${PACKAGE_NAME}/versions"
49
RESPONSE=$(curl -sSf \
50
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
51
- -H "Accept: application/vnd.github.v3+json" \
+ -H "Accept: application/vnd.github+json" \
52
"${API_URL}" 2>&1)
53
CURL_EXIT_CODE=$?
54
if [ $CURL_EXIT_CODE -ne 0 ]; then
@@ -65,7 +65,7 @@ jobs:
65
DELETE_URL="${API_URL}/${VERSION_ID}"
66
DELETE_RESPONSE=$(curl -sSf -X DELETE \
67
68
69
"${DELETE_URL}" 2>&1)
70
DELETE_EXIT_CODE=$?
71
if [ $DELETE_EXIT_CODE -eq 0 ]; then
0 commit comments