Revert temporary Grok PR lockfile CI hack

This commit is contained in:
Devin Foley committed 2026-05-15 21:13:50 -07:00
1 parent f807cc1271
commit a99004b7f5
2 files changed
-31

No files matched your search

-6
View File
@@ -27,12 +27,6 @@ jobs:
# do not masquerade as changes made by the PR itself.
changed="$(git diff --name-only "${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }}")"
if printf '%s\n' "$changed" | grep -qx 'pnpm-lock.yaml'; then
# Temporary branch-scoped exception to let CI exercise the Grok adapter
# PR with a lockfile diff. Revert this after the branch is validated.
if [ "${{ github.head_ref }}" = "PAPA-341-create-grok-build-adapter" ]; then
echo "Temporarily allowing pnpm-lock.yaml for ${GITHUB_HEAD_REF}."
exit 0
fi
echo "Do not commit pnpm-lock.yaml in pull requests. CI owns lockfile updates."
exit 1
fi