You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Not using the environment variables for SHAs, because they may be outdated. This may happen on force-push after the build is queued, but before it starts.
264
-
# The below works because HEAD is detached (at the merge commit), so HEAD~1 is at the base branch. When a PR contains no commits, this job will not run.
265
-
$headCommitHash = git rev-parse HEAD
266
-
$baseCommitHash = git rev-parse HEAD~1
267
-
268
-
Write-Output "Running code cleanup on commit range $baseCommitHash..$headCommitHash in pull request."
# # Not using the environment variables for SHAs, because they may be outdated. This may happen on force-push after the build is queued, but before it starts.
264
+
# # The below works because HEAD is detached (at the merge commit), so HEAD~1 is at the base branch. When a PR contains no commits, this job will not run.
265
+
# $headCommitHash = git rev-parse HEAD
266
+
# $baseCommitHash = git rev-parse HEAD~1
267
+
#
268
+
# Write-Output "Running code cleanup on commit range $baseCommitHash..$headCommitHash in pull request."
0 commit comments