Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-69482

Support for PR converted to draft / ready for review events

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • github-branch-source:2.11.2+
    • github-branch-source-plugin:1695.v88de84e9f6b_9

      https://issues.jenkins.io/browse/JENKINS-65156 adds a trait to ignore draft PR. However when a PR is eventually set to ready for review, the PR is not updated until Branch Indexing kicks off. GitHub Branch Source should support the proper Webhook event action and act accordingly. So that PR jobs are automatically updated / considered.

      How to Reproduce

      • create a Multibranch that scan PRs and ignore Draft PRs (using the "Ignore pull requests marked as drafts" trait)

      Then focus on a scanned PR

      • change the PR to draft in GitHub, nothing happens... (unexpected)
      • trigger branch indexing, the PR is not marked as dead (expected)
      • change the PR to ready for review in Github, nothing happens (unexpected)
      • trigger branch indexing, the PR is not active again (expected)

            allan_burdajewicz Allan BURDAJEWICZ
            allan_burdajewicz Allan BURDAJEWICZ
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: