We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777e73c commit 41e00f5Copy full SHA for 41e00f5
.github/workflows/create_ifu_tag.yml
@@ -40,6 +40,12 @@ jobs:
40
HEAD_SHA="${{ github.event.pull_request.head.sha }}"
41
MERGE_SHA="${{ github.event.pull_request.merge_commit_sha }}"
42
43
+ # For release branches, local branch is same as remote branch. But, for rocm/pytorch's
44
+ # develop branch, we want to use main branch upstream
45
+ if [ "$BASE_REF" == "develop" ]; then
46
+ BASE_REF="main"
47
+ fi
48
+
49
# The ROCm base commit is the first parent of the merge commit that landed the PR
50
# (i.e., the base branch tip BEFORE this PR merged).
51
ROCM_BASE_SHA=$(git rev-parse "${MERGE_SHA}^1")
0 commit comments