summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-01-09 21:28:31 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-02-01 10:59:20 +0000
commit3823e5928ffada287c2786d5db23926fc2bd5801 (patch)
treed7c7c1b47e6b0e14010e0957d1461d672faa555c
parent[24.11]: Backport scheduled workflows (#378508) (diff)
downloadnixpkgs-3823e5928ffada287c2786d5db23926fc2bd5801.tar.gz
workflows/eval: no maintainer reviews in draft mode
(cherry picked from commit 21b5113509a4701926a229b1c7cd6b79d6b3ec47)
-rw-r--r--.github/workflows/eval.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/eval.yml b/.github/workflows/eval.yml
index dcb664c6fa8e..79384daa6b3e 100644
--- a/.github/workflows/eval.yml
+++ b/.github/workflows/eval.yml
@@ -2,6 +2,7 @@ name: Eval
on:
pull_request_target:
+ types: [opened, ready_for_review, synchronize, reopened]
push:
# Keep this synced with ci/request-reviews/dev-branches.txt
branches:
@@ -334,3 +335,5 @@ jobs:
REPOSITORY: ${{ github.repository }}
NUMBER: ${{ github.event.number }}
AUTHOR: ${{ github.event.pull_request.user.login }}
+ # Don't request reviewers on draft PRs
+ DRY_MODE: ${{ github.event.pull_request.draft && '1' || '' }}