Skip to content

Commit

Permalink
fixup! feat(SYNC-MODULES): Add modules syncronization with le-tf-infr…
Browse files Browse the repository at this point in the history
…a-aws repo
  • Loading branch information
renemontilva committed Nov 16, 2024
1 parent f27ed84 commit 496c4d0
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/sync_modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Clone le-tf-infra-aws repo
run: |
cd ../
git clone [email protected]:binbashar/le-tf-infra-aws.git
- name: Sync modules
run: |
cd le-tf-infra-aws-template
chmod +x sync_modules.sh
./sync_modules.sh ${{ matrix.modules[0] }} ${{ matrix.modules[1] }}
git add ${{ matrix.modules[1] }}
git commit -m "Sync ${{ matrix.modules[1] }} module"
#- name: Clone le-tf-infra-aws repo
# run: |
# cd ../
# git clone [email protected]:binbashar/le-tf-infra-aws.git
#- name: Sync modules
# run: |
# cd le-tf-infra-aws-template
# chmod +x sync_modules.sh
# ./sync_modules.sh ${{ matrix.modules[0] }} ${{ matrix.modules[1] }}
# git add ${{ matrix.modules[1] }}
# git commit -m "Sync ${{ matrix.modules[1] }} module"
- name: Create PR
uses: peter-evans/create-pull-request@v7
with:
Expand All @@ -33,5 +33,5 @@ jobs:
title: "Sync Management Layer modules"
body: "Sync ${{ matrix.modules[0] }} and ${{ matrix.modules[1] }} modules"
branch: "sync-management-layer-modules"
base: "main"
base: "master"
labels: "enhancement"

0 comments on commit 496c4d0

Please sign in to comment.