File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ jobs:
5555
5656 # Only copy if the file exists in the target repository
5757 if [ -f "$target_file" ]; then
58- if [ -f ".github/actions-lock.txt" ]; then
59- locked_version=$(grep " $filename" .github/actions-lock.txt)
58+ if [ -f "./target/. github/actions-lock.txt" ]; then
59+ locked_version=$(grep " $filename" ./target/. github/actions-lock.txt)
6060 else
61- echo "# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors" >> .github/actions-lock.txt
62- echo "# SPDX-License""-Identifier: MIT" >> .github/actions-lock.txt
61+ echo "# SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors" >> ./target/. github/actions-lock.txt
62+ echo "# SPDX-License""-Identifier: MIT" >> ./target/. github/actions-lock.txt
6363 locked_version=""
6464 fi
6565 locked_version=$(echo $locked_version | cut -f 1 -d " ")
8282 fi
8383
8484 if [[ "$locked_version" != "" ]]; then
85- sed -i "s/$locked_version $filename/$new_version $filename/" .github/actions-lock.txt
85+ sed -i "s/$locked_version $filename/$new_version $filename/" ./target/. github/actions-lock.txt
8686 else
87- echo "$new_version $filename" >> .github/actions-lock.txt
87+ echo "$new_version $filename" >> ./target/. github/actions-lock.txt
8888 fi
8989 else
9090 echo "✅ Skipping $filename: already up to date"
You can’t perform that action at this time.
0 commit comments