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