From 5da821913840aa9e151b15afdf24fadccae49a09 Mon Sep 17 00:00:00 2001 From: Rene Montilva Date: Sun, 17 Nov 2024 16:29:17 +0100 Subject: [PATCH] fixup! feat(SYNC-MODULES): Add modules syncronization with le-tf-infra-aws repo --- .../{sync_modules.yml => sync-modules.yml} | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) rename .github/workflows/{sync_modules.yml => sync-modules.yml} (61%) diff --git a/.github/workflows/sync_modules.yml b/.github/workflows/sync-modules.yml similarity index 61% rename from .github/workflows/sync_modules.yml rename to .github/workflows/sync-modules.yml index d7a268b..0d23df7 100644 --- a/.github/workflows/sync_modules.yml +++ b/.github/workflows/sync-modules.yml @@ -1,4 +1,4 @@ -name: Synchorize Modules Version +name: Synchronize Module Versions on: workflow_dispatch: pull_request: @@ -15,12 +15,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Create branch - run: git checkout -b sync-management-layer-modules - #- name: Clone le-tf-infra-aws repo - # run: | - # cd ../ - # git clone git@github.com:binbashar/le-tf-infra-aws.git + - name: list files + run: ls -la + #- name: Checkout le-tf-infra-aws repo + # uses: actions/checkout@v2 + # with: + # repository: "binbashar/le-tf-infra-aws" #- name: Sync modules # run: | # cd le-tf-infra-aws-template @@ -31,10 +31,20 @@ jobs: - name: Create PR uses: peter-evans/create-pull-request@v7 with: - token: ${{ secrets.GITHUB_TOKEN }} commit-message: "Sync ${{ matrix.modules[1] }} module" title: "Sync Management Layer modules" - body: "Sync ${{ matrix.modules[0] }} and ${{ matrix.modules[1] }} modules" + body: | + ## What? + * Syncronize the management layer terraform modules versions with the le-tf-infra-aws repository. + + ## Why? + * To keep the management layer modules up to date with the le-tf-infra-aws repository. + + ## References + * [le-tf-infra-aws]() branch: "sync-management-layer-modules" + branch-suffix: timestamp base: "master" - labels: "enhancement" + labels: | + enhancement + patch