Skip to content

Commit

Permalink
"doNotNotify" -> "do_not_notify"
Browse files Browse the repository at this point in the history
metadata.json already has the field "yanked_versions" using lower snake case, so I updated this field to follow suit.
  • Loading branch information
Wyverald committed Sep 17, 2024
1 parent d0a648c commit 0a6d4b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/bcr-pr-reviewer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ async function generateMaintainersMap(octokit, owner, repo, modifiedModules, toN
const metadata = JSON.parse(Buffer.from(metadataContent.content, 'base64').toString('utf-8'));
let hasGithubMaintainer = false;
metadata.maintainers.forEach(maintainer => {
// Only add maintainers with a github handle set. When `toNotifyOnly`, also exclude those who have set "doNotNotify"
if (maintainer.github && !(toNotifyOnly && maintainer.doNotNotify)) {
// Only add maintainers with a github handle set. When `toNotifyOnly`, also exclude those who have set "do_not_notify"
if (maintainer.github && !(toNotifyOnly && maintainer["do_not_notify"])) {
hasGithubMaintainer = true;
if (!maintainersMap.has(maintainer.github)) {
maintainersMap.set(maintainer.github, new Set());
Expand Down

0 comments on commit 0a6d4b2

Please sign in to comment.