-
-
Notifications
You must be signed in to change notification settings - Fork 82
39 lines (35 loc) · 1.12 KB
/
stable-merge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Master Merge
on:
push:
branches:
- master
workflow_dispatch:
jobs:
master-merge:
name: Master Merge
runs-on: ubuntu-latest
steps:
- name: Generate App Token
id: app-token-generation
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.app-token-generation.outputs.token }}
- name: Merge master into dev
uses: robotology/gh-action-nightly-merge@81570ba03dd370f582bd3f52d47672d29191829f #v1.5.2
with:
stable_branch: master
development_branch: dev
allow_ff: true
allow_forks: true
user_name: tgstation-server-ci[bot]
user_email: 161980869+tgstation-server-ci[bot]@users.noreply.github.com
push_token: INSTALLATION_TOKEN
env:
GITHUB_TOKEN: ${{ steps.app-token-generation.outputs.token }}
INSTALLATION_TOKEN: ${{ steps.app-token-generation.outputs.token }}