Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

feature/Shared-cla-workflow · L-261007-7d36d7 — CLA runs from the organization ruleset (#1370)

Thomas Hebrard4209565db66c
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
deleted file mode 100644
index 3a95aacf4..000000000
--- a/.github/workflows/cla.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: "CLA Assistant bot"
-on:
- issue_comment:
- types: [created]
- pull_request_target:
- types: [opened, closed, synchronize]
-
-permissions:
- actions: write
- contents: read
- pull-requests: write
- statuses: write
-
-jobs:
- CLAAssistant:
- runs-on: ubuntu-latest
- steps:
- - name: Get GitHub App token
- id: app-token
- uses: actions/create-github-app-token@v1
- with:
- app-id: ${{ secrets.CLA_GH_APP_ID }}
- private-key: ${{ secrets.CLA_GH_APP_PRIVATE_KEY }}
- owner: Pipelex
- repositories: |
- cla-signatures
- pipelex
-
- - name: "CLA Assistant"
- if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
- uses: contributor-assistant/[email protected]
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }}
- with:
- path-to-signatures: "signatures/version1/cla.json"
- path-to-document: "https://github.com/Pipelex/pipelex/blob/main/CLA.md"
- branch: main
- allowlist: ${{ vars.CLA_ALLOWLIST }}
- remote-organization-name: Pipelex
- remote-repository-name: cla-signatures
- signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index f45ecba62..e7845c862 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -86,5 +86,5 @@ That overwrites `CLAUDE.md` with the full standalone version. Do not commit this
## License
-* **CLA** – The first time you open a PR, the CLA-assistant bot will guide you through signing the Contributor License Agreement. The process signature uses the [CLA assistant lite](https://github.com/marketplace/actions/cla-assistant-lite).
+* **CLA** – The first time you open a PR, the CLA Assistant bot asks you to sign the [Contributor License Agreement](https://github.com/Pipelex/.github/blob/main/CLA.md), one agreement for every Pipelex repository, by posting a comment on the PR. The check reads your signature the next time it runs, so once you have commented, push a new commit or ask a maintainer to re-run it.
* **Code of Conduct** – Be kind. All interactions fall under [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md).