Skip to content

Commit

Permalink
changed path for running the script
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveW-STFC committed Oct 3, 2024
1 parent e596d43 commit 27840bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_copied_files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 27840bb

Please sign in to comment.