aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-01-02 22:45:43 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-10 16:56:45 +0100
commit8899806d836e45d3fa4b97c1cb30dc2bfee90e91 (patch)
tree4ea9a1c637c80fad232ff3778012383b04c22658
parent82cb5b7181cee04b354cabedda7094976bbd7e7e (diff)
downloadlibfuse-8899806d836e45d3fa4b97c1cb30dc2bfee90e91.tar.gz
Remove the DCO check
Actually checkpatch.pl already checks for "Signed-off-by" and also handles merge commits - no need for duplicate logic. Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
-rw-r--r--.github/workflows/dco.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml
deleted file mode 100644
index 1a2121d..0000000
--- a/.github/workflows/dco.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: DCO Check (Developer Certificate of Origin)
-
-on:
- pull_request:
- types: [opened, synchronize, reopened]
-
-jobs:
- check-dco:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- with:
- fetch-depth: 0
- - name: Check DCO
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- GH_REPO: ${{ github.repository }}
- run: |
- echo "Checking DCO for PR #${{ github.event.pull_request.number }}"
- commits=$(gh pr view ${{ github.event.pull_request.number }} --json commits --jq '.commits[].oid')
- for commit in $commits
- do
- if ! git log --format='%B' -n 1 $commit | grep -q "Signed-off-by:"; then
- echo "Commit $commit is missing Signed-off-by line"
- exit 1
- fi
- done
- echo "All commits have Signed-off-by lines"