This commit is contained in:
Harsh Shandilya 2023-01-12 16:23:14 +05:30
parent 33e6bd716f
commit 9b32dc594e
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module.exports = async ({github, context}) => {
}).data;
console.log(Object.getOwnPropertyNames(pr));
const shouldWarn = pr.head.ref != "staging" // && pr.base.ref == "main"
const shouldWarn = pr.head.ref != "staging" && pr.base.ref == "main";
if (shouldWarn) {
octokit.rest.issues.createComment({