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
3. Workflow automatically creates a PR in wire-server-deploy
115
115
116
-
### Adding New Wire-Server Versions
117
-
118
-
When a new wire-server version is released, edit [.github/workflows/create-deploy-pr.yml](.github/workflows/create-deploy-pr.yml) and add the version to the `options` list:
119
-
120
-
```yaml
121
-
wire_server_version:
122
-
description: 'Pin wire-server version'
123
-
required: false
124
-
type: choice
125
-
options:
126
-
- 'none'
127
-
- '5.25.0'# New version
128
-
- '5.24.0'
129
-
- '5.23.0'
130
-
# ... rest of versions
131
-
```
132
-
133
116
### Checking Workflow Status
134
117
135
118
```bash
@@ -145,24 +128,34 @@ gh run view <run-id> --log
145
128
146
129
### After Merging PRs in wire-server-deploy
147
130
148
-
The workflow reuses the same branch name (`auto/bump-wire-build`) for all PRs. After you merge a PR:
131
+
The workflow uses different branch naming strategies:
132
+
133
+
| Trigger | Branch Name | Behavior |
134
+
|---------|-------------|----------|
135
+
| Automatic (push to `build.json`) |`auto/bump-wire-build`| Reused for all automatic updates |
136
+
| Pinned version (workflow_dispatch) |`auto/pin-<branch>-<version>`| Unique per pinned version |
149
137
150
-
**What happens on next trigger:**
151
-
1. Workflow fetches the existing `auto/bump-wire-build` branch
152
-
2. Attempts to rebase it on master (which includes the merged changes)
153
-
3. If rebase succeeds: updates the branch and creates a new PR
154
-
4. If rebase fails: deletes and recreates the branch from master
0 commit comments