[llvm] workflows/pr-receive: Ignore pull requests with 10 or more commits (PR #66320)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 00:25:47 PDT 2023
================
@@ -10,7 +10,12 @@ permissions:
jobs:
pr-target:
runs-on: ubuntu-latest
- if: github.repository == 'llvm/llvm-project'
+ # Ignore PRs with more than 10 commits. Pull requests with a lot of
+ # commits tend to be accidents usually when someone made a mistake while trying
+ # to rebase. We want to ignore these pull requests to avoid excessive
+ # notifications.
+ if: github.repository == 'llvm/llvm-project' &&
+ github.event.pull_request.commits < 10
----------------
cor3ntin wrote:
It took me a while to find it https://docs.github.com/en/rest/overview/issue-event-types?apiVersion=2022-11-28#ready_for_review
https://github.com/llvm/llvm-project/pull/66320
More information about the llvm-commits
mailing list