Skip to content

Commit ec5c658

Browse files
committed
Fix auth
1 parent cfc0695 commit ec5c658

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/actions/appinspect_publish/dist/index.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -9679,14 +9679,18 @@ try {
96799679
//console.log(`The event payload: ${payload}`);
96809680

96819681
const AppID = core.getInput('AppID');
9682+
const user = core.getInput('User');
9683+
const password = core.getInput('Password');
9684+
96829685
// Print the response body to the console
96839686
const options = {
96849687
hostname: 'splunkbase.splunk.com',
96859688
port: 443,
96869689
path: `/api/v1/app/${AppID}/new_release/`,
96879690
method: 'POST',
9691+
auth : `${user}:${password}`,
96889692
headers: {
9689-
'Content-Type': 'application/json'
9693+
'Content-Type': 'application/json',
96909694
},
96919695
};
96929696

.github/actions/appinspect_publish/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ try {
2424
method: 'POST',
2525
auth : `${user}:${password}`,
2626
headers: {
27-
'Content-Type': 'application/json'
27+
'Content-Type': 'application/json',
2828
},
2929
};
3030

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ bower_components
6969
build/Release
7070

7171
# Dependency directories
72-
72+
node_modules/
7373
jspm_packages/
7474

7575
# Snowpack dependency directory (https://snowpack.dev/)

0 commit comments

Comments
 (0)