Skip to content

fix(ci): checkout merge_commit_sha for CodeQL merge preview#915

Closed
seonghobae wants to merge 2 commits into
developfrom
fix/codeql-merge-checkout-sha
Closed

fix(ci): checkout merge_commit_sha for CodeQL merge preview#915
seonghobae wants to merge 2 commits into
developfrom
fix/codeql-merge-checkout-sha

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Align CodeQL merge-preview checkout with ruleset merge_commit_sha so analyzed tree matches uploaded SARIF target.

Analyze the same tree GitHub ruleset evaluates by checking out
pull_request.merge_commit_sha instead of refs/pull/<n>/merge while
keeping SARIF upload ref/sha pinned to the merge commit.
merge_commit_sha is not always fetchable as a ref for actions/checkout.
Continue checking out refs/pull/<n>/merge and pin SARIF upload sha to
pull_request.merge_commit_sha for ruleset evaluation.
@seonghobae

Copy link
Copy Markdown
Contributor Author

Closing: develop already uses refs/pull//merge checkout with merge_commit_sha SARIF upload (PR #912). merge_commit_sha checkout is not fetchable as a stable ref.

@seonghobae seonghobae closed this Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

PR governance metadata gate is not ready for 7ab5643d799b4f8b7be1c9ae8c4aef6af74e1636:

  • Merge state is UNKNOWN; resolve conflicts or refresh mergeability.

@opencode-agent

opencode-agent Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

  • Head SHA: 95b3004769e4afe87597c8e1be5de7e149d57114
  • Workflow run: 28711404693
  • Workflow attempt: 1
  • Gate result: APPROVE (exit 0)

Changed-File Evidence Map

flowchart LR
  Evidence["OpenCode evidence"] --> Review["Current PR review path"]
  Review --> Verify["Required checks"]
Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant