diff --git a/.github/workflows/dco.yaml b/.github/workflows/dco.yaml new file mode 100644 index 00000000..5027b8f8 --- /dev/null +++ b/.github/workflows/dco.yaml @@ -0,0 +1,17 @@ +name: DCO +on: [pull_request] + +jobs: + commits_check_job: + runs-on: ubuntu-latest + name: DCO check + steps: + - name: Get PR Commits + id: 'get-pr-commits' + uses: tim-actions/get-pr-commits@v1.3.1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: DCO Check + uses: tim-actions/dco@v1.1.0 + with: + commits: ${{ steps.get-pr-commits.outputs.commits }}