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
3 changes: 2 additions & 1 deletion .github/workflows/prune-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
env:
MERGED_BRANCHES: ${{ steps.checkout-beta.outputs.merged_branches }}
run: |
echo test-ref: $(git status)
BRANCH=${{ github.head_ref }}
BRANCHES=$(git branch)
BRANCHES=$(git branch -a)
echo test merged: ${MERGED_BRANCHES}
echo test branch: ${BRANCH}
echo test branches: ${BRANCHES}
Expand Down
4 changes: 2 additions & 2 deletions beta/beta-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
git merge --allow-unrelated-histories origin/main || true
git checkout --ours .
git add .
git commit -am 'Merge ${BRANCH} with main'
git commit -am "Merge ${BRANCH} with Main"
git push -fu origin ${BRANCH}
gh pr create --title ${BRANCH} --body 'Beta branch' --base main --head ${BRANCH}
gh pr create --title "${BRANCH}" --body "https://github.com/chiefmikey/gitlang/tree/${BRANCH}" --base main --head ${BRANCH}
2 changes: 1 addition & 1 deletion beta/beta-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
echo test: $(gh pr list -R chiefmikey/gitlang-beta -s open --json headRefName | jq -r '.[] | .headRefName')
for branch in $(gh pr list -s open --json headRefName | jq -r '.[] | .headRefName'); do
git fetch upstream ${branch}
git merge --allow-unrelated-histories ${branch} || true
git merge --allow-unrelated-histories upstream/${branch} || true
done

- name: Push to Main
Expand Down