diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3976178..621e047 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,7 +33,7 @@ jobs: if: env.MergeChanges == 'true' uses: actions/checkout@v4 with: - path: ${{ env.PATH_OUR_REPO_CHECKOUTT }} + path: ${{ env.PATH_OUR_REPO_CHECKOUT }} - name: Update our schema file if: env.MergeChanges == 'true' @@ -41,7 +41,10 @@ jobs: cd $PATH_OUR_REPO_CHECKOUT cp $PATH_SOURCE_CHECKOUT/env.TARGET_FILE resourceSchema/schema_aws.json if ! git diff --exit-code; then + echo "We do have changes between the copies, we are committing the changes" git commit -am "Updated AWS schema file)" git push -f origin main + else + echo "We have no changes between the copies, exiting" fi