From 4e203254e6e790747eb54d3d5897985351586087 Mon Sep 17 00:00:00 2001 From: Dane H Lim Date: Wed, 7 Feb 2024 13:23:59 -0800 Subject: [PATCH] Update branch to main in InitiateRelease and ManualPushToCodeCommit Github actions --- .github/workflows/initiaterelease.yml | 4 ++-- .github/workflows/manualtrigger.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/initiaterelease.yml b/.github/workflows/initiaterelease.yml index 38a3772..5aa607f 100644 --- a/.github/workflows/initiaterelease.yml +++ b/.github/workflows/initiaterelease.yml @@ -66,11 +66,11 @@ jobs: pip install git-remote-codecommit - name: Mirror to shinkansen branch on codecommit repository run: | - git clone --single-branch --branch feature/shinkansen https://github.com/aws/amazon-ecs-ami ecsAmiGithub + git clone --single-branch --branch main https://github.com/aws/amazon-ecs-ami ecsAmiGithub git clone codecommit::us-west-2://amazon-ecs-ami-mirror ecsAmiCodeCommit cp ecsAmiCodeCommit/Config ecsAmiGithub/ cd ecsAmiGithub git add Config git commit -m "Add config" git remote add codecommit codecommit::us-west-2://amazon-ecs-ami-mirror - git push codecommit feature/shinkansen:shinkansen \ No newline at end of file + git push codecommit main:shinkansen \ No newline at end of file diff --git a/.github/workflows/manualtrigger.yml b/.github/workflows/manualtrigger.yml index 1179be0..d8dca56 100644 --- a/.github/workflows/manualtrigger.yml +++ b/.github/workflows/manualtrigger.yml @@ -26,11 +26,11 @@ jobs: pip install git-remote-codecommit - name: Mirror to shinkansen branch on codecommit repository run: | - git clone --single-branch --branch feature/shinkansen https://github.com/aws/amazon-ecs-ami ecsAmiGithub + git clone --single-branch --branch main https://github.com/aws/amazon-ecs-ami ecsAmiGithub git clone codecommit::us-west-2://amazon-ecs-ami-mirror ecsAmiCodeCommit cp ecsAmiCodeCommit/Config ecsAmiGithub/ cd ecsAmiGithub git add Config git commit -m "Add config" git remote add codecommit codecommit::us-west-2://amazon-ecs-ami-mirror - git push codecommit feature/shinkansen:shinkansen + git push codecommit main:shinkansen