Skip to content

Commit c299765

Browse files
committed
add condition
1 parent b8a5716 commit c299765

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/add-redirects.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
done
5555
echo "redirects=${deleted_redirects}" >> "$GITHUB_OUTPUT"
5656
- name: Update the PR Description
57+
if: steps.changed-files.outputs.renamed_files_count > 0 || steps.changed-files.outputs.deleted_files_count > 0
5758
uses: MongoCaleb/pr-description-action@master
5859
with:
5960
regex: "- \\[ \\] Did you add redirects\\?.*"

0 commit comments

Comments
 (0)