Skip to content

Commit 3a91005

Browse files
authored
fix(ci): pin compound-engineering plugin via local checkout (#2222)
1 parent ecd027f commit 3a91005

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/compound-review.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,19 @@ jobs:
9090
git fetch --no-tags --depth=50 "$BASE_REPO_URL" "${{ steps.pr.outputs.base_ref }}"
9191
fi
9292
93+
# Pre-clone the plugin marketplace at a pinned tag and pass it to the
94+
# action as a local path. The action's `plugin_marketplaces` input
95+
# validator rejects the `#<ref>` suffix that the underlying
96+
# `/plugin marketplace add` CLI accepts, so we cannot pin via URL.
97+
# See base-action/src/install-plugins.ts:MARKETPLACE_URL_REGEX.
98+
# Bump `ref` deliberately; do not track main.
99+
- name: Checkout compound-engineering plugin
100+
uses: actions/checkout@v6
101+
with:
102+
repository: EveryInc/compound-engineering-plugin
103+
ref: v2.42.0
104+
path: ce-plugin
105+
93106
- name: Run Compound Engineering review
94107
id: review
95108
uses: anthropics/claude-code-action@v1
@@ -99,10 +112,8 @@ jobs:
99112
allowed_bots: dependabot,dependabot[bot],kodiakhq,kodiakhq[bot],github-actions,github-actions[bot],cursor,cursor[bot],claude,claude[bot]
100113
allowed_non_write_users: '*' # allow fork contributors to trigger via label
101114

102-
# Pin the plugin to a tagged release. Bump deliberately; do not track main.
103-
# See https://github.com/EveryInc/compound-engineering-plugin/releases
104115
plugin_marketplaces: |
105-
https://github.com/EveryInc/compound-engineering-plugin.git#v2.42.0
116+
./ce-plugin
106117
plugins: |
107118
compound-engineering@compound-engineering-plugin
108119

0 commit comments

Comments
 (0)