From 348ce0cdde7a315e7145637d769034a817dec44d Mon Sep 17 00:00:00 2001 From: chiefmikey Date: Mon, 22 Aug 2022 07:15:33 -0600 Subject: [PATCH 1/3] Add checkout tests --- beta/beta-branch.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 994d03a1..996f51a4 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -29,9 +29,14 @@ jobs: BRANCH=${GITHUB_REF##*/} git config user.name "Mikl Wolfe" git config user.email "wolfemikl@gmail.com" + echo test first: $(git status) git checkout main + echo test main: $(git status) git checkout -b beta-branch + echo test beta-branch: $(git status) git reset --soft ${BRANCH} + echo test reset: $(git status) git add . git commit -am 'Beta branch' + echo test commit: $(git status) gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --head beta-branch From c6c59ed351738e65e3ba270cbd11ff5a251668b3 Mon Sep 17 00:00:00 2001 From: chiefmikey Date: Mon, 22 Aug 2022 07:24:33 -0600 Subject: [PATCH 2/3] Update tests --- beta/beta-branch.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 996f51a4..603fbf29 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -30,13 +30,18 @@ jobs: git config user.name "Mikl Wolfe" git config user.email "wolfemikl@gmail.com" echo test first: $(git status) + echo test first: $(git hist) git checkout main echo test main: $(git status) + echo test main: $(git hist) git checkout -b beta-branch echo test beta-branch: $(git status) + echo test beta-branch: $(git hist) git reset --soft ${BRANCH} echo test reset: $(git status) + echo test reset: $(git hist) git add . git commit -am 'Beta branch' echo test commit: $(git status) - gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --head beta-branch + echo test commit: $(git hist) + gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch From cdf5ed866c32f5e849eb5efed98f124055b1a28e Mon Sep 17 00:00:00 2001 From: chiefmikey Date: Mon, 22 Aug 2022 07:26:56 -0600 Subject: [PATCH 3/3] Add log tests --- beta/beta-branch.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/beta/beta-branch.yml b/beta/beta-branch.yml index 603fbf29..0336ca18 100644 --- a/beta/beta-branch.yml +++ b/beta/beta-branch.yml @@ -30,18 +30,18 @@ jobs: git config user.name "Mikl Wolfe" git config user.email "wolfemikl@gmail.com" echo test first: $(git status) - echo test first: $(git hist) + echo test first: $(git log) git checkout main echo test main: $(git status) - echo test main: $(git hist) + echo test main: $(git log) git checkout -b beta-branch echo test beta-branch: $(git status) - echo test beta-branch: $(git hist) + echo test beta-branch: $(git log) git reset --soft ${BRANCH} echo test reset: $(git status) - echo test reset: $(git hist) + echo test reset: $(git log) git add . git commit -am 'Beta branch' echo test commit: $(git status) - echo test commit: $(git hist) + echo test commit: $(git log) gh pr create -R chiefmikey/gitlang-beta --title ${BRANCH} --body 'Beta branch' --base main --head beta-branch