From 10c3f64cebe020cbd4566f67e842ab28198f3a0f Mon Sep 17 00:00:00 2001 From: DaveW-STFC Date: Thu, 3 Oct 2024 12:24:05 +0100 Subject: [PATCH] removed sudo command --- .github/workflows/pr_copied_files.yaml | 4 ++-- charts/staging/argocd/Chart.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_copied_files.yaml b/.github/workflows/pr_copied_files.yaml index ed18cc6f..474ed5e1 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 ${{ github.workspace }}/.github/workflows/pr_check_copy.sh "$file" "staging" "dev" ) + res=$( ${{ 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 ${{ github.workspace }}/.github/workflows/pr_check_copy.sh "$file" "prod" "staging" ) + res=$( ${{ github.workspace }}/.github/workflows/pr_check_copy.sh "$file" "prod" "staging" ) echo $res if [ "$res" -eq 1 ]; then echo "result=false" >> "$GITHUB_OUTPUT" diff --git a/charts/staging/argocd/Chart.yaml b/charts/staging/argocd/Chart.yaml index 63756fab..f982908c 100644 --- a/charts/staging/argocd/Chart.yaml +++ b/charts/staging/argocd/Chart.yaml @@ -1,3 +1,3 @@ apiVersion: v2 name: argocd -version: 1.0.2 \ No newline at end of file +version: 1.0.3 \ No newline at end of file