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 c98f1f5 commit ae86d8aCopy full SHA for ae86d8a
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