Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/opencode-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ jobs:
fi

- name: Enforce Cloudflare Pingora edge policy
if: ${{ github.event_name == 'pull_request_target' }}
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
env:
GITHUB_TOKEN: ${{ github.token }}
TARGET_REPOSITORY: ${{ github.event.pull_request.base.repo.full_name || github.repository }}
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ this file. The format follows Keep a Changelog, and versioned releases follow
Semantic Versioning where the repository publishes a release.

## [Unreleased]
- Keep the required OpenCode bootstrap's Pingora policy step unconditional
within its pull-request-only workflow, so the static bootstrap contract does
not depend on event payload fields.
- Skip trusted base Python lock materialization for exact-head reviews with no
Python source or dependency-manifest changes, while preserving the
fail-closed wheel-only path when Python coverage is relevant.
Expand Down
3 changes: 2 additions & 1 deletion tests/test_pingora_edge_workflow_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def test_required_workflow_enforces_pingora_without_executing_pr_content() -> No
assert '[ -L "$trusted_source_dir/$EXPECTED_FILE" ]' in text
assert '[ ! -f "$trusted_source_dir/scripts/ci/pingora_edge_policy.py" ]' in text
assert '[ -L "$trusted_source_dir/scripts/ci/pingora_edge_policy.py" ]' in text
assert "if: ${{ github.event_name == 'pull_request_target' }}" in text
assert "pull_request_target:" in text
assert "if: ${{ github.event_name == 'pull_request_target' }}" not in text
assert text.index("Verify immutable central policy source") < text.index(
"Enforce Cloudflare Pingora edge policy"
)
Loading