Skip to content

πŸ™Œ OpenHands: AI-Driven Development

ci: run PR description check on draft PRs (#16547)

Graham Neubig4a7d73691d2a
diff --git a/.github/workflows/pr-description-check.yml b/.github/workflows/pr-description-check.yml
index 206ffe7049..1460a32847 100644
--- a/.github/workflows/pr-description-check.yml
+++ b/.github/workflows/pr-description-check.yml
@@ -16,12 +16,11 @@ permissions:
jobs:
validate-pr-description:
name: Validate PR description
- # Draft PRs may still have incomplete descriptions; validate when review starts.
- # Bots (dependabot, release-please) write their own bodies and can't follow
- # the HUMAN/AGENT template, so exempt them rather than failing every such PR.
- if: >-
- github.event.pull_request.draft == false
- && github.event.pull_request.user.type != 'Bot'
+ # Run on drafts too so contributors can iterate on a passing description
+ # before requesting review. Bots (dependabot, release-please) write their
+ # own bodies and can't follow the HUMAN/AGENT template, so exempt them
+ # rather than failing every such PR.
+ if: github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-24.04
steps:
- name: Checkout trusted workflow scripts