Skip to content

Commit 82df3ce

Browse files
ayeshurunAlon YeshurunCopilot
authored
Skip dependabot (#914)
Co-authored-by: Alon Yeshurun <alonyeshurun+microsoft@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 75369e2 commit 82df3ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/validate.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,13 @@ jobs:
154154
const prAuthor = context.payload.pull_request.user.login;
155155
const repo = context.repo;
156156
157+
// Skip validation for dependabot
158+
if (prAuthor === 'dependabot[bot]') {
159+
console.log('✅ Dependabot PR detected. Skipping linked issue validation.');
160+
core.setOutput('skip_validation', 'true');
161+
return;
162+
}
163+
157164
console.log(`Checking collaborator role for PR author: ${prAuthor}`);
158165
159166
try {

0 commit comments

Comments
 (0)