Skip to content

Commit 85a255d

Browse files
authored
Update auto-merge-to-main.yml
1 parent 70e4d8a commit 85a255d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/auto-merge-to-main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,13 @@ jobs:
149149
git fetch origin development
150150
151151
# Merge the commit (this brings all ancestor commits too!)
152+
WORKFLOW_COUNT=$(jq '. | length' runs.json)
153+
152154
if git merge $COMMIT_SHA --no-ff -m "Auto-merge: development → main ($SHORT_SHA)
153155
154156
All CI checks passed for commit $SHORT_SHA.
155157

156-
✅ Workflows completed: $(jq '. | length' runs.json)
158+
✅ Workflows completed: $WORKFLOW_COUNT
157159
📦 Merged by: GitHub Actions
158160
🔗 Triggered by: ${{ github.event.workflow_run.name }}"; then
159161

0 commit comments

Comments
 (0)