From 1a7ce9fc6d849f5b42fe672696b9d6b7797c45b7 Mon Sep 17 00:00:00 2001 From: Alaurant Date: Mon, 8 Jul 2024 01:53:39 +1000 Subject: [PATCH] change workflow path --- .github/workflows/teamsync_check_for_changes.yml | 2 +- .github/workflows/teamsync_update_automatically.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/teamsync_check_for_changes.yml b/.github/workflows/teamsync_check_for_changes.yml index 045e3ebb32..f26e1e3076 100644 --- a/.github/workflows/teamsync_check_for_changes.yml +++ b/.github/workflows/teamsync_check_for_changes.yml @@ -42,7 +42,7 @@ jobs: GIT_DIFF=$(git diff ${{ github.event.before }} ${{ github.sha }} -- "$file") if [[ "$GIT_DIFF" == *"github_team"* || "$GIT_DIFF" == *"developers"* ]]; then - file="${filepath#permissions/}" + file="${file#permissions/}" echo "Updating the team in: $file" java -jar target/github_team_sync.jar "$file" else diff --git a/.github/workflows/teamsync_update_automatically.yml b/.github/workflows/teamsync_update_automatically.yml index 74ddd4d97f..b7557dd186 100644 --- a/.github/workflows/teamsync_update_automatically.yml +++ b/.github/workflows/teamsync_update_automatically.yml @@ -26,7 +26,7 @@ jobs: run: | echo "Updating all permissions files..." for file in permissions/*.yml; do - file="${filepath#permissions/}" + file="${file#permissions/}" echo "Updating the team in: $file" java -jar target/github_team_sync.jar "$file" done