Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/workflows/create_ifu_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
HEAD_SHA="${{ github.event.pull_request.head.sha }}"
MERGE_SHA="${{ github.event.pull_request.merge_commit_sha }}"

# For release branches, local branch is same as remote branch. But, for rocm/pytorch's
# develop branch, we want to use main branch upstream
if [ "$BASE_REF" == "develop" ]; then
BASE_REF="main"
fi

# The ROCm base commit is the first parent of the merge commit that landed the PR
# (i.e., the base branch tip BEFORE this PR merged).
ROCM_BASE_SHA=$(git rev-parse "${MERGE_SHA}^1")
Expand Down