File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments