Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
fix: skip commitlint for PR merge commits
JerrettDavisc6c43f41f1a7
diff --git a/.github/act/push-merge-pr.json b/.github/act/push-merge-pr.jsonnew file mode 100644index 000000000..f0326b984--- /dev/null+++ b/.github/act/push-merge-pr.json@@ -0,0 +1,11 @@+{+ "ref": "refs/heads/main",+ "head_commit": {+ "message": "Merge pull request #217 from JerrettDavis/fix/openclaw-local-node-publish\n\nFix OpenClaw GPR package build"+ },+ "commits": [+ {+ "message": "Merge pull request #217 from JerrettDavis/fix/openclaw-local-node-publish\n\nFix OpenClaw GPR package build"+ }+ ]+}diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex fa3dda675..83700960b 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -215,9 +215,10 @@ jobs:name: distpath: dist/- commitlint:- runs-on: ubuntu-latest- steps:+ commitlint:+ if: github.event_name != 'push' || !startsWith(github.event.head_commit.message, 'Merge pull request ')+ runs-on: ubuntu-latest+ steps:- uses: actions/checkout@v4with:fetch-depth: 0diff --git a/tests/test_release_workflows.py b/tests/test_release_workflows.pyindex 168b70fb1..16cdfc3d2 100644--- a/tests/test_release_workflows.py+++ b/tests/test_release_workflows.py@@ -36,3 +36,10 @@ def test_create_release_runs_after_successful_build_even_if_other_publishes_fail)assert "always()" in contentassert "needs.build.result == 'success'" in content+++def test_ci_commitlint_skips_default_github_merge_commits() -> None:+ content = (ROOT / ".github" / "workflows" / "ci.yml").read_text(encoding="utf-8")++ assert "github.event_name != 'push'" in content+ assert "!startsWith(github.event.head_commit.message, 'Merge pull request ')" in content