Skip to content

Commit a8a3572

Browse files
authored
Update create.sh
1 parent 94644dc commit a8a3572

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

create.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ jq -c 'select(.type == "create_pull_request")' "$INPUT" | while read -r event; d
3737
git checkout "$BASE_SHA"
3838
git checkout -b "$BRANCH_NAME"
3939

40+
ls -l
4041
# Apply file changes
4142
echo "$event" | jq -c '.data."updated-dependency-files"[]' | while read -r file; do
4243
# FILE_PATH=$(echo "$file" | jq -r '.directory + "/" + .name' | sed 's#^/##')
44+
ls -l
4345
FILE_PATH=$(echo "$file" | jq -r '.directory + "/" + .name' | sed 's#^/*##')
4446
DELETED=$(echo "$file" | jq -r '.deleted')
4547
if [ "$DELETED" = "true" ]; then

0 commit comments

Comments
 (0)