Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/beta-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
BRANCH=${{ github.head_ref }}
echo test: ${BRANCH}
echo test: $(git status)
git config user.name "Mikl Wolfe"
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
git remote set-url --add --push origin https://github.com/chiefmikey/gitlang-beta.git
git add .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Push
run: |
git config user.name "Mikl Wolfe"
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
git add .
git commit -am 'Update production build'
Expand Down
4 changes: 2 additions & 2 deletions beta/beta-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
GH_TOKEN: ${{ secrets.DISPATCH_REPO }}
run: |
BRANCH=${GITHUB_REF##*/}
git config user.name "Mikl Wolfe"
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
git merge --allow-unrelated-histories main || true
git merge --allow-unrelated-histories origin/main || true
git checkout --ours .
git add .
git commit -am 'Merge ${BRANCH} with main'
Expand Down
31 changes: 21 additions & 10 deletions beta/beta-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,30 @@ jobs:
token: ${{ secrets.DISPATCH_REPO }}
fetch-depth: 0

- name: Merge branches
- name: Pull GitLang Main
run: |
git checkout -b beta-compile
echo $(gh pr list -s open --json id)
# for pull_request in $(gh pr list -s open --json branch); do
# echo "Merge ${pull_request}"
# git merge ${pull_request}
# done
git checkout -b temp
ls -A1 | xargs rm -rf
git init
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
git remote add origin https://github.com/chiefmikey/gitlang-beta
git remote add upstream https://github.com/chiefmikey/gitlang
git pull upstream main

- name: Merge Branches
env:
GH_TOKEN: ${{ secrets.DISPATCH_REPO }}
run: |
echo test: $(gh pr list -s open --json baseRefName)
echo test: $(gh pr list -s open --json headRefName)
echo test: $(gh pr list -s open --json title)
for branch in $(gh pr list -s open --json headRefName); do
git merge --allow-unrelated-histories origin/${branch} || true
done

- name: Push to Main
run: |
git config user.name "Mikl Wolfe"
git config user.name "chiefmikey"
git config user.email "wolfemikl@gmail.com"
git add .
git commit -am 'Beta compile'
git push -u origin HEAD:main