Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: check against npm version in issue validator #38915

Merged
merged 9 commits into from
Aug 25, 2022
Next Next commit
only log labels and body in debug mode
  • Loading branch information
balazsorban44 committed Jul 22, 2022
commit 5b4512e0b19aa3511a59e170aaccbf286b14fd87
16 changes: 9 additions & 7 deletions .github/actions/issue-validator/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,15 @@ async function run() {
/** @type {Label[]} */
const labels = issue.labels

core.info(
`Validating issue ${issueNumber}:
Labels:
New: ${json(newLabel)}
All: ${json(labels)}
Body: ${body}`
)
if (debug) {
core.info(
`Validating issue ${issueNumber}:
Labels:
New: ${json(newLabel)}
All: ${json(labels)}
Body: ${body}`
)
}

const isBugReport = newLabel.name === bugReportLabel

Expand Down