Skip to content

Commit f637e26

Browse files
committed
try 11: shieh
1 parent 37bc7b5 commit f637e26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/circleci-failure-summary-comment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
8282
# Step 4: Get all jobs in the workflow
8383
echo "Getting jobs for workflow ${workflow_id}..."
84-
jobs=$(curl -s -H "Circle-Token: ${CIRCLE_TOKEN}" \
84+
jobs=$(curl -s \
8585
"https://circleci.com/api/v2/workflow/${workflow_id}/job")
8686
8787
# Step 5: Extract collection_job details
@@ -92,7 +92,7 @@ jobs:
9292
9393
# Step 6: Get artifacts list
9494
echo "Getting artifacts for job ${collection_job_number}..."
95-
artifacts=$(curl -s -H "Circle-Token: ${CIRCLE_TOKEN}" \
95+
artifacts=$(curl -s \
9696
"https://circleci.com/api/v2/project/gh/${REPO}/${collection_job_number}/artifacts")
9797
9898
echo "$artifacts" | jq '.'
@@ -107,7 +107,7 @@ jobs:
107107
108108
echo "Downloading failure_summary.json from: ${failure_summary_url}"
109109
mkdir -p outputs
110-
curl -s -L -H "Circle-Token: ${CIRCLE_TOKEN}" "${failure_summary_url}" -o outputs/failure_summary.json
110+
curl -s -L "${failure_summary_url}" -o outputs/failure_summary.json
111111
ls -la outputs
112112
113113
echo "Downloaded failure_summary.json successfully"

0 commit comments

Comments
 (0)