diff --git a/.github/workflows/pr_copied_files.yaml b/.github/workflows/pr_copied_files.yaml index ecd497ea..ed18cc6f 100644 --- a/.github/workflows/pr_copied_files.yaml +++ b/.github/workflows/pr_copied_files.yaml @@ -44,7 +44,7 @@ jobs: echo "Files that have changed: $STAGING_ALL_CHANGED_FILES" echo "result=true" >> "$GITHUB_OUTPUT" for file in ${{ steps.changed-files.outputs.staging_all_changed_files }}; do - res=$( sudo ./scripts/pr_check_copies.sh "$file" "staging" "dev" ) + res=$( sudo ${{ github.workspace }}/.github/workflows/pr_check_copy.sh "$file" "staging" "dev" ) echo $res if [ "$res" -eq 1 ]; then echo "result=false" >> "$GITHUB_OUTPUT" @@ -63,7 +63,7 @@ jobs: echo "Files that have changed: $PROD_ALL_CHANGED_FILES" echo "result=true" >> "$GITHUB_OUTPUT" for file in ${{ steps.changed-files.outputs.prod_all_changed_files }}; do - res=$( sudo ./scripts/pr_check_copies.sh "$file" "prod" "staging" ) + res=$( sudo ${{ github.workspace }}/.github/workflows/pr_check_copy.sh "$file" "prod" "staging" ) echo $res if [ "$res" -eq 1 ]; then echo "result=false" >> "$GITHUB_OUTPUT"