Skip to content

Commit

Permalink
Add user-agent (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampos authored Aug 1, 2024
1 parent 78cc405 commit 636b141
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export async function run(): Promise<void> {
method: 'POST',
body: formData,
headers: {
Authorization: `Bearer ${apikey}`
Authorization: `Bearer ${apikey}`,
'User-Agent': 'rmoa-gh-action-v1'
}
}
)
Expand Down

0 comments on commit 636b141

Please sign in to comment.