Skip to content

πŸ™Œ OpenHands: AI-Driven Development

ci: exempt bot PRs from title and description checks (#1861)

Vasco Schiavob18ebefba85d
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 600313e7a8..c835599914 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -12,7 +12,7 @@ updates:
versioning-strategy: increase
open-pull-requests-limit: 10
commit-message:
- prefix: deps
+ prefix: chore
include: scope
labels:
- dependencies
diff --git a/.github/workflows/pr-description-check.yml b/.github/workflows/pr-description-check.yml
index e7163d1a56..83be9f2ac8 100644
--- a/.github/workflows/pr-description-check.yml
+++ b/.github/workflows/pr-description-check.yml
@@ -16,7 +16,11 @@ jobs:
validate-pr-description:
name: Validate PR description
# Draft PRs may still have incomplete descriptions; validate when review starts.
- if: github.event.pull_request.draft == false
+ # 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'
runs-on: ubuntu-24.04
steps:
- name: Checkout trusted workflow scripts