You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added logic to extend the alive check for the existence of either `alive-main` or `alive-dev` branches.
- Resolved an issue where unexpected successes were occurring when failures were expected.
- Implemented a check to determine the existence of the `alive-main` and `alive-dev` branches and create them if they do not exist.
- Introduced a mechanism to identify the current branch being run (either `main` or `dev`).
- Based on the current branch, the corresponding alive branch (`alive-main` or `alive-dev`) will be used to check for upstream changes.
- Set a new variable `ABORT_SYNC` to `true` when the current branch is neither `dev` nor `main`.
- The syncing attempt will proceed based on the `ABORT_SYNC` variable status.
- Ensured proper branch synchronization to prevent build inconsistencies and failures
- Addresses issue LoopKit/Loop#2192
Copy file name to clipboardExpand all lines: .github/workflows/build_loop.yml
+52-22Lines changed: 52 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ env:
14
14
UPSTREAM_REPO: LoopKit/LoopWorkspace
15
15
UPSTREAM_BRANCH: ${{ github.ref_name }} # branch on upstream repository to sync from (replace with specific branch name if needed)
16
16
TARGET_BRANCH: ${{ github.ref_name }} # target branch on fork to be kept in sync, and target branch on upstream to be kept alive (replace with specific branch name if needed)
17
-
ALIVE_BRANCH: alive
17
+
ALIVE_BRANCH_MAIN: alive-main
18
+
ALIVE_BRANCH_DEV: alive-dev
18
19
19
20
jobs:
20
21
validate:
@@ -50,38 +51,49 @@ jobs:
50
51
echo "has_permission=false" >> $GITHUB_OUTPUT # Set WORKFLOW_PERMISSION to false.
0 commit comments