aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pr_triage.yml
diff options
context:
space:
mode:
authorTSRBerry <20988865+TSRBerry@users.noreply.github.com>2023-08-06 23:25:02 +0200
committerGitHub <noreply@github.com>2023-08-06 23:25:02 +0200
commit3ab0a71c7bfb60b20008894db3fb6534436753e6 (patch)
treeb4f3f6e14c1ba80d7e59d79aed76b67dd9e4762a /.github/workflows/pr_triage.yml
parent6e784e0aca240b41c83bd3e77aecf5793fdc238d (diff)
Fix PR build concurrency and stop auto assigning reviewers for draft PRs (#5519)
* build: Remove concurrency It's called by checks anyway. * Only assign reviewers for PRs that are ready for reviews
Diffstat (limited to '.github/workflows/pr_triage.yml')
-rw-r--r--.github/workflows/pr_triage.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/pr_triage.yml b/.github/workflows/pr_triage.yml
index 86e5084f..cd90e645 100644
--- a/.github/workflows/pr_triage.yml
+++ b/.github/workflows/pr_triage.yml
@@ -28,6 +28,7 @@ jobs:
dot: true
- name: Assign reviewers
+ if: ! github.event.pull_request.draft
run: |
pip3 install PyGithub
python3 .github/update_reviewers.py ${{ secrets.GITHUB_TOKEN }} ${{ github.repository }} ${{ github.event.pull_request.number }} .github/reviewers.yml