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.
2 parents c98f1f5 + ae86d8a commit d36620bCopy full SHA for d36620b
index.js
@@ -47,7 +47,7 @@ async function run() {
47
// 1. Get the jobs that belong to this workflow
48
const jobsRes = await fetch(
49
`https://circleci.com/api/v2/workflow/${workflowId}/job`,
50
- { headers: { 'Circle-Token': apiToken } }
+ { }
51
);
52
const jobs = await jobsRes.json();
53
if (!jobs.items.length) {
0 commit comments