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
Be able to fast forward merge without a pull request in the GitHub GUI
2
+
Be able to fast forward merge without a pull request in the GitHub GUI.
3
3
4
4
5
-
A solution to https://stackoverflow.com/questions/24276409/how-to-merge-branches-on-github-com-without-doing-pull-request
5
+
A solution to [How to merge branches on github.com without doing pull request?](https://stackoverflow.com/questions/24276409/how-to-merge-branches-on-github-com-without-doing-pull-request) using `actions/github-script@v5`, see [here for action](https://github.com/JEFuller/merge-deploy-action-demo/blob/26df2e798b74782bcb1be586024cdcdd984b2440/.github/workflows/update-other.yml#L7-L19).
6
+
7
+
Trigger it manually via the [action's page](https://github.com/JEFuller/merge-deploy-action-demo/actions/workflows/update-other.yml):
8
+
9
+
<imgwidth="878"height="423"alt="Screen Shot 2025-08-05 at 11 36 40"src="https://github.com/user-attachments/assets/c635a35b-2158-4ffa-b689-91b2e5927ffe" />
10
+
11
+
---
12
+
13
+
Note: if you have e.g. a [`deploy.yml`](https://github.com/JEFuller/merge-deploy-action-demo/blob/26df2e798b74782bcb1be586024cdcdd984b2440/.github/workflows/deploy.yml) with an `on: push` it will not be trigged (since `updateRef` isn't technically a `push`).
14
+
15
+
16
+
But that can be triggered automaticall using `actions/github-script@v5`, see [here](https://github.com/JEFuller/merge-deploy-action-demo/blob/26df2e798b74782bcb1be586024cdcdd984b2440/.github/workflows/update-other.yml#L21-L32).
17
+
18
+
Note: the deploy workflow will need to be updated to `on: [push, workflow_dispatch]`:
19
+
20
+
<imgwidth="513"height="231"alt="Screen Shot 2025-08-05 at 11 38 28"src="https://github.com/user-attachments/assets/020ec622-4fc5-4bb2-b493-400bc585b23c" />
0 commit comments