Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

ci: add cla-assistant workflow to retrigger stuck CLA checks (#13021)

Mark Salpeter81653b2bd23a
diff --git a/.github/workflows/cla-assistant.yml b/.github/workflows/cla-assistant.yml
new file mode 100644
index 0000000000..a5ddafd2cc
--- /dev/null
+++ b/.github/workflows/cla-assistant.yml
@@ -0,0 +1,20 @@
+# Workaround for a known cla-assistant bug where the CLA check gets stuck and
+# never re-runs after a contributor signs the CLA.
+# See: https://github.com/cla-assistant/cla-assistant/issues/528
+#
+# Usage: comment `/check-cla` on any PR to manually retrigger the CLA check.
+name: CLA Assistant
+
+on:
+ issue_comment:
+ types: [created]
+
+jobs:
+ retrigger_cla:
+ # Only run on PR comments (not issue comments) with the /check-cla command
+ if: github.event.issue.pull_request && github.event.comment.body == '/check-cla'
+ runs-on: ubuntu-latest
+ steps:
+ - name: Retrigger CLA check
+ run: |
+ curl -s "https://cla-assistant.io/check/langfuse/langfuse?pullRequest=${{ github.event.issue.number }}"
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 57c7315f1f..3900c99038 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -513,3 +513,5 @@ npx fern-api generate --api organizations # for the organizations API
Langfuse is MIT licensed, except for `ee/` folder. See [LICENSE](LICENSE) and [docs](https://langfuse.com/docs/open-source) for more details.
When contributing to the Langfuse codebase, you need to agree to the [Contributor License Agreement](https://cla-assistant.io/langfuse/langfuse). You only need to do this once and the CLA bot will remind you if you haven't signed it yet.
+
+If the CLA check gets stuck after signing (a [known cla-assistant bug](https://github.com/cla-assistant/cla-assistant/issues/520)), comment `/check-cla` on your PR to retrigger it.