Skip to content

Commit

Permalink
Add customer header mentioning action name
Browse files Browse the repository at this point in the history
  • Loading branch information
dgellow committed Nov 25, 2023
1 parent 9df32ba commit c1e5c09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33183,6 +33183,7 @@ function uploadSpecAndConfig(specPath, configPath, token) {
headers: {
Authorization: `Bearer ${token}`,
'Content-Type': 'multipart/form-data',
'X-GitHub-Action': 'stainless-api/upload-openapi-spec-action',
},
});
return response;
Expand Down
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ async function uploadSpecAndConfig(specPath: string, configPath: string, token:
headers: {
Authorization: `Bearer ${token}`,
'Content-Type': 'multipart/form-data',
'X-GitHub-Action': 'stainless-api/upload-openapi-spec-action',
},
});
return response;
Expand Down

0 comments on commit c1e5c09

Please sign in to comment.