Skip to content

Commit

Permalink
Use vercel/ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
namnh240795 committed Dec 21, 2023
1 parent 174ec50 commit 50478f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30807,7 +30807,10 @@ try {
repo: github.context.repo.repo,
pull_number: prNumber
}).then((response) => {
const commits = response.data.commit;
// const commits = response.data.commit;
// console.log(JSON.stringify(commits))
// get commit message from response
const commits = response.data.map(commit => commit.commit.message);
console.log(JSON.stringify(commits))
});
core.setOutput("Pass", " See convention.md for more details.\n");
Expand Down
6 changes: 5 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ try {
repo: github.context.repo.repo,
pull_number: prNumber
}).then((response) => {
console.log(response);
// const commits = response.data.commit;
// console.log(JSON.stringify(commits))
// get commit message from response
const commits = response.data.map(commit => commit.commit.message);
console.log(JSON.stringify(commits))
});
core.setOutput("Pass", " See convention.md for more details.\n");
console.log(commitRE)
Expand Down

0 comments on commit 50478f9

Please sign in to comment.