Skip to content

Commit 7c67514

Browse files
authored
Enable checking diff on fork. (#9177)
1 parent 8f5e7f0 commit 7c67514

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/health_metrics/get_updated_files.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ done
2525

2626
dir=$(pwd)
2727

28-
# Get most rescent ancestor commit.
29-
common_commit=$(git merge-base remotes/origin/${pr_branch} remotes/origin/${GITHUB_BASE_REF})
3028
target_branch_head=$(git rev-parse remotes/origin/${GITHUB_BASE_REF})
31-
echo "The common commit is ${common_commit}."
3229
echo "The target branch head commit is ${target_branch_head}."
3330
# Set target branch head and this will be used to compare diffs of coverage to the current commit.
3431
echo "::set-output name=target_branch_head::${target_branch_head}"

0 commit comments

Comments
 (0)