We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 439cecc commit b422aadCopy full SHA for b422aad
.github/workflows/warn-master-pr.yml
@@ -18,6 +18,13 @@ jobs:
18
const { repo, owner } = context.repo;
19
const issue_number = context.issue.number;
20
21
+ // Skip if the PR author is github-actions[bot] (automated PR)
22
+ const prAuthor = context.payload.pull_request.user.login;
23
+ if (prAuthor === 'github-actions[bot]') {
24
+ console.log('Skipping warning for automated PR from github-actions[bot]');
25
+ return;
26
+ }
27
+
28
// Check if we already commented on this PR
29
const comments = await github.rest.issues.listComments({
30
owner,
0 commit comments