Skip to content

Calculate merge base in changed-files action - #150

Merged
rapids-bot[bot] merged 9 commits into
mainfrom
changed-files-merge-base
Sep 23, 2026
Merged

rapids-bot[bot] merged 9 commits into
mainfrom
changed-files-merge-base

Conversation

@KyleFromNVIDIA

Copy link
Copy Markdown
Member

pr.base.sha is not a reliable indicator of the merge base. Calculate the merge base manually.

`pr.base.sha` is not a reliable indicator of the merge base. Calculate
the merge base manually.
@KyleFromNVIDIA KyleFromNVIDIA added the bug Something isn't working label Sep 23, 2026
@KyleFromNVIDIA
KyleFromNVIDIA requested a review from a team as a code owner September 23, 2026 17:14
@KyleFromNVIDIA KyleFromNVIDIA added the non-breaking Introduces a non-breaking change label Sep 23, 2026
Comment thread changed-files/action.yml Outdated
HEAD_SHA: ${{ fromJSON(steps.get-pr-info.outputs.pr-info).head.sha }}
run: |
git fetch --depth 1 origin "$BASE_SHA"
git fetch --depth 1 origin "$HEAD_SHA"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signpost: head SHA does look right as per https://github.com/orgs/community/discussions/25318

@KyleFromNVIDIA

Copy link
Copy Markdown
Member Author

/merge

@rapids-bot
rapids-bot Bot merged commit 7762d7d into main Sep 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants