Skip to content

Commit

Permalink
unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticfalcon committed Jun 17, 2024
1 parent a743b9b commit f8a049d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12884,12 +12884,12 @@ async function run() {
});
pr = resp.data;
// Validate commit status:
const commitStatus = await octokit.rest.repos.getCombinedStatusForRef({
owner,
repo,
ref: pr.head.ref
});
core.info(JSON.stringify(commitStatus));
// const commitStatus = await octokit.rest.repos.getCombinedStatusForRef({
// owner,
// repo,
// ref: pr.head.ref
// })
// core.info(JSON.stringify(commitStatus))
// if(commitStatus.state !== "success") {
// await addComment(pr.number, `:warning: Successful checks are required to create a release candidate. :warning:`);
// core.setFailed('Successful checks are required to create a release candidate.');
Expand Down
12 changes: 6 additions & 6 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ async function run() {
pr = resp.data

// Validate commit status:
const commitStatus = await octokit.rest.repos.getCombinedStatusForRef({
owner,
repo,
ref: pr.head.ref
})
core.info(JSON.stringify(commitStatus))
// const commitStatus = await octokit.rest.repos.getCombinedStatusForRef({
// owner,
// repo,
// ref: pr.head.ref
// })
// core.info(JSON.stringify(commitStatus))
// if(commitStatus.state !== "success") {
// await addComment(pr.number, `:warning: Successful checks are required to create a release candidate. :warning:`);
// core.setFailed('Successful checks are required to create a release candidate.');
Expand Down

0 comments on commit f8a049d

Please sign in to comment.