From f02bbdb442be5adb7e171ea37b181fb714703520 Mon Sep 17 00:00:00 2001 From: Cyber MacGeddon Date: Thu, 26 Mar 2026 14:08:41 +0000 Subject: [PATCH] New CLA workflow: Uses a github action in trustgraph-ai/contributor-license-agreement This blocks a PR until the commiter responds with a message of agreement with the CLA terms. --- .github/workflows/cla.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/cla.yml diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml new file mode 100644 index 00000000..73f582cf --- /dev/null +++ b/.github/workflows/cla.yml @@ -0,0 +1,25 @@ +name: CLA Assistant + +on: + issue_comment: + types: [created] + pull_request_target: + types: [opened, synchronize, reopened] + +permissions: + actions: write + contents: write + pull-requests: write + statuses: write + +jobs: + CLAssistant: + runs-on: ubuntu-latest + steps: + - name: CLA Assistant + uses: trustgraph-ai/contributor-license-agreement/action@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ASSISTANT_PAT }} + with: + allowlist: 'dependabot,dependabot[bot],github-actions,github-actions[bot]'