Skip to content

Commit 739cfe3

Browse files
committed
chore: improve readability
1 parent 8aa3855 commit 739cfe3

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/comment-diffs.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ jobs:
119119
done
120120
done
121121
122-
- name: Remove everything
122+
- name: Remove everything in the working directory
123123
run: for i in $(ls) ; do rm -rf "$i"; done;
124124

125125
- name: Create new empty repo
126126
run: git init
127127

128-
- name: Initiate diffs
128+
- name: Create diffs
129129
id: create-diffs
130130
run: |
131131
# Source all the configuration values to load $languages, $types, and $exclude
@@ -136,7 +136,7 @@ jobs:
136136
137137
# Set author
138138
git config --global user.email "[email protected]"
139-
git config --global user.name "Github actions test"
139+
git config --global user.name "create-react-native-library diff generator action"
140140
141141
function copy_commit_diff(){
142142
library_type=$1
@@ -195,10 +195,9 @@ jobs:
195195
196196
# Add output to file
197197
# echo "[$library_type/$language](https://github.com/${{github.repository}}/compare/$old_version_commit_hash..$new_version_commit_hash)" >> "$output_file"
198+
199+
# Write the diff to the output file
198200
git diff HEAD~ >> $output_file
199-
echo "$output_file"
200-
201-
cat "$output_file"
202201
fi
203202
}
204203

0 commit comments

Comments
 (0)