Skip to content

Commit

Permalink
removed sudo command
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveW-STFC committed Oct 3, 2024
1 parent 44393f6 commit 10c3f64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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 ${{ 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"
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 ${{ 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"
Expand Down
2 changes: 1 addition & 1 deletion charts/staging/argocd/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiVersion: v2
name: argocd
version: 1.0.2
version: 1.0.3

0 comments on commit 10c3f64

Please sign in to comment.