cla.yml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. name: "DCO Assistant"
  2. on:
  3. issue_comment:
  4. types: [created]
  5. pull_request_target:
  6. types: [opened,closed,synchronize]
  7. permissions:
  8. actions: write
  9. contents: write
  10. pull-requests: write
  11. statuses: write
  12. jobs:
  13. DCOAssistant:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - name: "DCO Assistant"
  17. if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the DCO Document and I hereby sign the DCO') || github.event_name == 'pull_request_target'
  18. uses: contributor-assistant/[email protected]
  19. env:
  20. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  21. with:
  22. path-to-signatures: '.github/dco/signatures.json'
  23. path-to-document: 'https://developercertificate.org/'
  24. branch: 'dco-do-not-remove'
  25. allowlist: user1,bot*
  26. use-dco-flag: true
  27. custom-notsigned-prcomment: '<br/>Thank you for your submission. Before we can accept your contribution, please sign our [Developer Certificate of Origin](https://developercertificate.org) by posting a comment with the content exactly as below.<br/>'