π 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.ymlindex 600313e7a8..c835599914 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -12,7 +12,7 @@ updates:versioning-strategy: increaseopen-pull-requests-limit: 10commit-message:- prefix: deps+ prefix: choreinclude: scopelabels:- dependenciesdiff --git a/.github/workflows/pr-description-check.yml b/.github/workflows/pr-description-check.ymlindex 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.04steps:- name: Checkout trusted workflow scripts