mumrah commented on code in PR #17299: URL: https://github.com/apache/kafka/pull/17299#discussion_r1779169161
########## .github/workflows/build.yml: ########## @@ -39,11 +39,21 @@ jobs: matrix: java: [ 21, 17, 11, 8 ] name: Compile and Check Java ${{ matrix.java }} + outputs: + is-draft: ${{ steps.check-draft-pr.outputs.is-draft }} steps: - name: Env run: printenv env: GITHUB_CONTEXT: ${{ toJson(github) }} + - name: Check for Draft PR + id: check-draft-pr + if: | + github.event_name == 'pull_request' && ( + github.event.pull_request.draft || + contains(github.event.pull_request.title, 'WIP') Review Comment: Yea, that's a good point. I went with the title since that's something non-committers can update (unlike labels). I'm fine leaving this out for now and just using the Draft status. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org