From 6d2ee025fd10cbe3cef6e72862a8065642a3e0f0 Mon Sep 17 00:00:00 2001 From: Dave Lago Date: Fri, 15 Oct 2021 15:11:32 -0400 Subject: [PATCH] Adding DCO check to repo, closes #1463 (#1468) Signed-off-by: Dave Lago --- .github/dco.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/dco.yml diff --git a/.github/dco.yml b/.github/dco.yml new file mode 100644 index 0000000000..cf30ea89dc --- /dev/null +++ b/.github/dco.yml @@ -0,0 +1,18 @@ +name: Developer Certificate of Origin Check + +on: [pull_request] + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - name: Get PR Commits + id: 'get-pr-commits' + uses: tim-actions/get-pr-commits@v1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: DCO Check + uses: tim-actions/dco@v1.1.0 + with: + commits: ${{ steps.get-pr-commits.outputs.commits }}