Problem
Pinning uses: alibaba/open-code-review@<commit> does not currently freeze what runs. In the v1.8.10 action, the internal actions use floating tags — actions/checkout@v7, actions/setup-node@v7, actions/upload-artifact@v4, actions/github-script@v9 — so the composite's implementation can change underneath a consumer's SHA pin without any change to their workflow. Consumers have no way to pin these references themselves, which makes the official action hard to use as a required review gate under SHA-pinning policies and encourages vendoring it.
Suggestion
- Pin the internal
actions/* references to full commit SHAs with a # vX.Y.Z trailing comment.
- Show a fully SHA-pinned invocation in the GitHub Actions example.
- Add a consistency check so a floating tag cannot reappear in
action.yml.
→ Implemented in #836.
Scope note: this issue originally also covered the ocr_version: latest default. That is a separate design decision with an active discussion, now tracked in #839 so this issue can close with the part already agreed.
Problem
Pinning
uses: alibaba/open-code-review@<commit>does not currently freeze what runs. In the v1.8.10 action, the internal actions use floating tags —actions/checkout@v7,actions/setup-node@v7,actions/upload-artifact@v4,actions/github-script@v9— so the composite's implementation can change underneath a consumer's SHA pin without any change to their workflow. Consumers have no way to pin these references themselves, which makes the official action hard to use as a required review gate under SHA-pinning policies and encourages vendoring it.Suggestion
actions/*references to full commit SHAs with a# vX.Y.Ztrailing comment.action.yml.→ Implemented in #836.
Scope note: this issue originally also covered the
ocr_version: latestdefault. That is a separate design decision with an active discussion, now tracked in #839 so this issue can close with the part already agreed.