You've already forked dynamic-badges-action
🔧 Add user agent
This commit is contained in:
1
index.js
1
index.js
@@ -77,6 +77,7 @@ try {
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Content-Length': data.length,
|
'Content-Length': data.length,
|
||||||
|
'User-Agent': 'Schneegans',
|
||||||
'Authorization': 'token ' + core.getInput('auth'),
|
'Authorization': 'token ' + core.getInput('auth'),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user