From a4530495b3729fadba43bd3c8cb066144184471b Mon Sep 17 00:00:00 2001 From: Rene Montilva Date: Sun, 17 Nov 2024 17:37:27 +0100 Subject: [PATCH] fixup! feat(SYNC-MODULES): Add modules syncronization with le-tf-infra-aws repo --- .github/workflows/sync-modules.yml | 1 + sync_modules.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-modules.yml b/.github/workflows/sync-modules.yml index 9e3ee85..88bd73a 100644 --- a/.github/workflows/sync-modules.yml +++ b/.github/workflows/sync-modules.yml @@ -32,6 +32,7 @@ jobs: - name: Create PR uses: peter-evans/create-pull-request@v7 with: + path: le-tf-infra-aws-template commit-message: "Sync ${{ matrix.modules[1] }} module" title: "Sync Management Layer modules" body: | diff --git a/sync_modules.sh b/sync_modules.sh index 792d1ec..09aa991 100755 --- a/sync_modules.sh +++ b/sync_modules.sh @@ -59,7 +59,7 @@ if [ "$TEMPLATE_VERSION" == "$INFRA_VERSION" ]; then else echo "Versions do not match, updating on template repository" sed -i "s/ref=$TEMPLATE_VERSION/ref=$INFRA_VERSION/g" $TEMPLATE_FILE - echo "Updated the version in the template repository file to $INFRA_VERSION" git add $TEMPLATE_FILE + echo "Updated the version in the template repository file to $INFRA_VERSION" exit 0 fi