From b395419eafe3dd2612ce07cdc8fa235deb1053c5 Mon Sep 17 00:00:00 2001 From: Sebastian Crane Date: Tue, 26 Jul 2022 21:59:42 +0100 Subject: [PATCH] Add CI job to check for DCO sign-off messages Signed-off-by: Sebastian Crane --- .github/workflows/dco.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dco.yml diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml new file mode 100644 index 0000000000..f329c84ef6 --- /dev/null +++ b/.github/workflows/dco.yml @@ -0,0 +1,22 @@ +name: Check for DCO sign-off messages + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + dco: + name: Check for DCO sign-off messages + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dco-check + run: sudo apt install -y python3-pip && pip install dco-check + - name: Run `dco-check` + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: dco-check