Skip to content

Commit 270cd4c

Browse files
eshabennhussein11
andauthored
Apply suggestions from code review
Co-authored-by: Nicolás Hussein <[email protected]>
1 parent a86efc5 commit 270cd4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-url-changes.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616

1717
- name: Identify deleted and renamed files
1818
run: |
19-
# Store deleted markdown files
19+
# Store deleted files
2020
DELETED_FILES=$(git diff --name-status origin/master ${{ github.event.pull_request.head.sha }} | grep '^D.*\.md$' | cut -f2- || true)
2121
echo "DELETED_FILES<<EOF" >> $GITHUB_ENV
2222
echo "$DELETED_FILES" >> $GITHUB_ENV
2323
echo "EOF" >> $GITHUB_ENV
2424
25-
# Store renamed markdown files
25+
# Store renamed/moved files
2626
RENAMED_FILES=$(git diff --name-status origin/master ${{ github.event.pull_request.head.sha }} | grep '^R.*\.md$' | awk '{print $2 " -> " $3}' || true)
2727
echo "RENAMED_FILES<<EOF" >> $GITHUB_ENV
2828
echo "$RENAMED_FILES" >> $GITHUB_ENV

0 commit comments

Comments
 (0)