Skip to content

Commit 696dae0

Browse files
authored
Need origin?
1 parent d2ca42e commit 696dae0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/Label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.head_ref != 'action/ship-publicapi' # Same branch name specified in Release.yml
1313
run: |
1414
git fetch origin HEAD # By default, actions/checkout does not fetch commit history, we fetch it here
15-
$changes = git diff --numstat --shortstat ${{ github.base_ref }}...HEAD -- '**/PublicApi.Shipped.txt'
15+
$changes = git diff --numstat --shortstat origin/${{ github.base_ref }}...HEAD -- '**/PublicApi.Shipped.txt'
1616
Write-Output "$changes"
1717
if ($changes) {
1818
Write-Error "Changes detected in PublicApi.Shipped.txt files. Public API changes must be shipped through the release process, not in regular pull requests."

0 commit comments

Comments
 (0)