fix: when in doubt, sudo? (#54266)

pull/54267/head
Naomi 2024-04-01 09:00:42 -07:00 committed by GitHub
parent fe615be569
commit 522977ec1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ jobs:
# We do not need to run tests because they are run after the PR is created.
- name: Overwrite Execute-Brain.md
run: tools/scripts/move-bf.sh
run: sudo tools/scripts/move-bf.sh
# Create Commit
- name: Commit Changes

View File

@ -9,5 +9,5 @@ destination_dir="curriculum/challenges"
# Loop through all directories except _meta and english
for dir in $(find "$destination_dir" -mindepth 1 -maxdepth 1 -type d ! -name '_meta' ! -name 'english'); do
# Copy the file to each directory
cp "$source_file" "$dir/22-rosetta-code/rosetta-code-challenges/"
cp "./$source_file" "./$dir/22-rosetta-code/rosetta-code-challenges/"
done