Skip to content

Conversation

@tstellar
Copy link
Collaborator

This prevent users from being subscribed automatically to draft pull requests.

This prevent users from being subscribed automatically to draft pull requests.
@llvmbot
Copy link
Member

llvmbot commented Sep 16, 2023

@llvm/pr-subscribers-github-workflow

Changes

This prevent users from being subscribed automatically to draft pull requests.

Full diff: https://github.com/llvm/llvm-project/pull/66578.diff

1 Files Affected:

  • (modified) .github/workflows/pr-receive.yml (+6)
diff --git a/.github/workflows/pr-receive.yml b/.github/workflows/pr-receive.yml index d796920370e27a9..13f1a883cf8ff67 100644 --- a/.github/workflows/pr-receive.yml +++ b/.github/workflows/pr-receive.yml @@ -3,6 +3,11 @@ name: PR Receive on: pull_request_target: + types: + - opened + - reopened + - ready_for_review + - synchronize permissions: contents: read @@ -15,6 +20,7 @@ jobs: # to rebase. We want to ignore these pull requests to avoid excessive # notifications. if: github.repository == 'llvm/llvm-project' && + github.event.pull_request.draft == false && github.event.pull_request.commits < 10 steps: - name: Store PR Information 
Copy link
Contributor

@cor3ntin cor3ntin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@tstellar tstellar merged commit 7d6c3a2 into llvm:main Sep 26, 2023
legrosbuffle pushed a commit to legrosbuffle/llvm-project that referenced this pull request Sep 29, 2023
This prevent users from being subscribed automatically to draft pull requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

4 participants