Skip to content

Commit ce5e0b1

Browse files
committed
Add testing script, pass sha github as header.
1 parent 6602c24 commit ce5e0b1

File tree

4 files changed

+448
-7
lines changed

4 files changed

+448
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.DS_Store
22
node_modules/
3+
.env

main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ request(
4646
json: true,
4747
body: data,
4848
headers: {
49-
"X-Hub-Signature": signature
49+
"X-Hub-Signature": signature,
50+
"X-Hub-SHA": process.env.GITHUB_SHA
5051
}
5152
},
5253
(error, response, body) => {

0 commit comments

Comments
 (0)