From 125dbad0ed1dd0a8a30e4f12184c515402a72992 Mon Sep 17 00:00:00 2001 From: Tom Wieczorek Date: Wed, 5 Jun 2024 15:57:36 +0200 Subject: [PATCH] Ignore dependabot in DCO check Dependabot adds proper sign-offs to its commits. However, the DCO check is _very_ picky: it wants the sign-off and the GitHub username email to match. This is not the case for dependabot. So exclude dependabot from it. Fixes: dae9c6b95 ("Add GitHub Workflow based DCO check") Signed-off-by: Tom Wieczorek --- .github/workflows/dco.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dco.yaml b/.github/workflows/dco.yaml index 70d8c95adbce..d99ecb115c05 100644 --- a/.github/workflows/dco.yaml +++ b/.github/workflows/dco.yaml @@ -10,7 +10,7 @@ permissions: contents: read jobs: - build: + check: name: DCO check runs-on: ubuntu-latest steps: @@ -37,4 +37,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DCO_CHECK_VERBOSE: "true" + DCO_CHECK_EXCLUDE_PATTERN: dependabot\[bot\]@users\.noreply\.github\.com run: python3 dco_check.py