Skip to content

Commit 07a996f

Browse files
Copilotjpnurmi
andcommitted
fix: add missing setOutput('skipped', 'true') for maintainer check
Agent-Logs-Url: https://github.com/getsentry/github-workflows/sessions/679d4d30-c819-45cb-b992-04eb4dbc6193 Co-authored-by: jpnurmi <140617+jpnurmi@users.noreply.github.com>
1 parent c7453b2 commit 07a996f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

validate-pr/scripts/validate-pr.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ module.exports = async ({ github, context, core }) => {
6060
const authorIsMaintainer = await isMaintainer(repo.owner, repo.repo, prAuthor);
6161
if (authorIsMaintainer) {
6262
core.info(`PR author ${prAuthor} has admin/maintain access. Skipping.`);
63+
core.setOutput('skipped', 'true');
6364
return;
6465
}
6566
core.info(`PR author ${prAuthor} is not a maintainer.`);

0 commit comments

Comments
 (0)