From 252e3138ad0348d89b95669ed5d01f8dea2b1c56 Mon Sep 17 00:00:00 2001 From: Lucas Amaral Date: Tue, 25 Mar 2025 21:26:33 -0300 Subject: [PATCH] feat(ci): add DCO workflow Signed-off-by: Lucas Amaral --- .github/workflows/DCO-check.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/DCO-check.yml diff --git a/.github/workflows/DCO-check.yml b/.github/workflows/DCO-check.yml new file mode 100644 index 0000000..50c6ce0 --- /dev/null +++ b/.github/workflows/DCO-check.yml @@ -0,0 +1,17 @@ +name: DCO check +on: [pull_request] + +jobs: + commits_check_job: + runs-on: ubuntu-latest + name: Commits Check + steps: + - name: Get PR Commits + id: 'get-pr-commits' + uses: tim-actions/get-pr-commits@master + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: DCO Check + uses: tim-actions/dco@master + with: + commits: ${{ steps.get-pr-commits.outputs.commits }} \ No newline at end of file