Skip to content

Commit 92790e3

Browse files
authored
Update redirector.yml
1 parent a53efcc commit 92790e3

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

.github/workflows/redirector.yml

+5-17
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,11 @@ jobs:
2121

2222
- name: Check for deleted or renamed files
2323
run: |
24-
# Get the list of deleted and renamed files
25-
deleted_files=$(git diff --name-status origin/master | grep '^D')
26-
renamed_files=$(git diff --name-status origin/master | grep '^R')
27-
28-
if [ -n "$deleted_files" ]; then
29-
echo "Deleted files:"
30-
echo "deleted_files=$deleted_files" >> $GITHUB_OUTPUT
31-
else
32-
echo "No files deleted."
33-
fi
34-
35-
if [ -n "$renamed_files" ]; then
36-
echo "Renamed files:"
37-
echo "$renamed_files"
38-
else
39-
echo "No files renamed."
40-
fi
24+
echo $(git remote --verbose)
25+
echo $(pwd)
26+
echo "Current Repository: ${{ github.repository }}"
27+
echo "Current Branch: ${{ github.ref }}"
28+
echo "Branch Name: ${{ github.ref_name }}"
4129
- name: Update the PR Description
4230
uses: MongoCaleb/pr-description-action@master
4331
with:

0 commit comments

Comments
 (0)