-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! feat(SYNC-MODULES): Add modules syncronization with le-tf-infr…
…a-aws repo
- Loading branch information
1 parent
0bea9c8
commit 5da8219
Showing
1 changed file
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 [email protected]: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 |