From d782deb826187514ce847bcd12746bc2e587c0f1 Mon Sep 17 00:00:00 2001 From: James Ebert Date: Wed, 5 Jun 2024 09:03:18 -0700 Subject: [PATCH] fix: dco checks Signed-off-by: James Ebert --- .github/workflows/dco.yml | 21 +++++++++++++++++++++ 1 file changed, 21 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..207598a18b --- /dev/null +++ b/.github/workflows/dco.yml @@ -0,0 +1,21 @@ +# This file is necessary due to this issue - https://github.com/dcoapp/app/issues/211 +# Can likely be removed in the future once dcoapp is back up +name: DCO + +on: [pull_request] + +jobs: + dco_check: + runs-on: ubuntu-latest + name: DCO + if: ${{ github.actor != 'dependabot[bot]' }} + steps: + - name: Get PR Commits + id: "get-pr-commits" + uses: tim-actions/get-pr-commits@198af03565609bb4ed924d1260247b4881f09e7d + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: DCO Check + uses: tim-actions/dco@f2279e6e62d5a7d9115b0cb8e837b777b1b02e21 + with: + commits: ${{ steps.get-pr-commits.outputs.commits }}