Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
14Richa committed Jul 4, 2023
1 parent a1cdb43 commit 682ac24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/verify-maintainers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
} else {
const previousGithub = previousData.github;
const previousRepos = previousData.repos;
// check if the GitHub key for the maintainer has been modified
if (previousGithub !== maintainer.github) {
errorMessages.push(`GitHub key for ${maintainer.name} has been modified in MAINTAINERS.yaml.
Only `asyncapi-bot` can make such changes. This information is derived from the `CODEOWNERS` file.`);
Expand All @@ -84,7 +84,6 @@ jobs:
// If there are any error messages, create a comment on the PR
if (errorMessages.length > 0) {
createComment(errorMessages);
// Close the PR
github.rest.pulls.update({
owner,
Expand Down

0 comments on commit 682ac24

Please sign in to comment.