diff --git a/.github/workflows/cla-sign-listener.yml b/.github/workflows/cla-sign-listener.yml new file mode 100644 index 0000000..e4deb34 --- /dev/null +++ b/.github/workflows/cla-sign-listener.yml @@ -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 }} diff --git a/.github/workflows/cla-verify-listener.yml b/.github/workflows/cla-verify-listener.yml new file mode 100644 index 0000000..071b517 --- /dev/null +++ b/.github/workflows/cla-verify-listener.yml @@ -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