ci(cla): add cla listeners #22
@@ -0,0 +1,18 @@
|
|||||||
|
name: CLA Listener
|
||||||
|
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-central-bot:
|
||||||
|
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }}
|
||||||
|
|
||||||
|
uses: scienting/cla/.github/workflows/cla-sign.yml@main
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
CLA_BOT_PAT: ${{ secrets.CLA_BOT_PAT }}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
name: CLA Status Check
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
verify-cla:
|
||||||
|
uses: scienting/cla/.github/workflows/cla-verify.yml@main
|
||||||
Reference in New Issue
Block a user