Skip to content

Commit

Permalink
Improve alias checker to only match on rename
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel authored Sep 16, 2023
1 parent d7ed9a1 commit 59952b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/alias-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: check_files_moved
run: |
$diff = git diff -M --find-renames=10 --summary ${{github.event.pull_request.base.sha}}
$SourceDiff = $diff | Where-Object { $_ -match '.md.*$' }
$SourceDiff = $diff | Where-Object { $_ -match 'rename.*.md.*$' }
$HasDiff = $SourceDiff.Length -gt 0
Write-Host "::set-output name=files_moved::$HasDiff"
Expand Down

0 comments on commit 59952b5

Please sign in to comment.