dco.yml 543 B

123456789101112131415161718192021
  1. # SPDX-License-Identifier: Apache-2.0
  2. name: DCO
  3. on: [pull_request]
  4. jobs:
  5. dco_check:
  6. runs-on: ubuntu-latest
  7. name: DCO
  8. if: ${{ github.actor != 'dependabot[bot]' }}
  9. steps:
  10. - name: Get PR Commits
  11. id: 'get-pr-commits'
  12. uses: tim-actions/get-pr-commits@198af03565609bb4ed924d1260247b4881f09e7d
  13. with:
  14. token: ${{ secrets.GITHUB_TOKEN }}
  15. - name: DCO Check
  16. uses: tim-actions/dco@f2279e6e62d5a7d9115b0cb8e837b777b1b02e21
  17. with:
  18. commits: ${{ steps.get-pr-commits.outputs.commits }}