cla.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. name: "CLA 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. CLAAssistant:
  14. if: github.repository == 'charmbracelet/crush'
  15. runs-on: ubuntu-latest
  16. steps:
  17. - name: "CLA Assistant"
  18. if: |
  19. github.event.comment.body == 'recheck' ||
  20. github.event.comment.body == 'I have read the Contributor License Agreement (CLA) and hereby sign the CLA.' ||
  21. github.event_name == 'pull_request_target'
  22. uses: contributor-assistant/[email protected]
  23. env:
  24. GITHUB_TOKEN: ${{ secrets.CRUSH_CLA_BOT }}
  25. with:
  26. path-to-signatures: ".github/cla-signatures.json"
  27. path-to-document: "https://github.com/charmbracelet/crush/blob/main/CLA.md"
  28. branch: "main"
  29. allowlist: dependabot[bot]
  30. custom-pr-sign-comment: "I have read the Contributor License Agreement (CLA) and hereby sign the CLA."
  31. lock-pullrequest-aftermerge: false
  32. signed-commit-message: "chore(legal): @$contributorName has signed the CLA in $pullRequestNo"