-
Notifications
You must be signed in to change notification settings - Fork 42
37 lines (34 loc) · 957 Bytes
/
sync.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
name: Stage environment sync
on:
push:
branches:
- 'master'
jobs:
sync-branches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Merge master -> qa-beta
uses: robotology/[email protected]
with:
allow_ff: true
ff_only: true
stable_branch: master
user_name: compliance-github-bot
development_branch: qa-beta
push_token: 'GITHUB_TOKEN'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Merge master -> qa-stable
uses: robotology/[email protected]
with:
allow_ff: true
ff_only: true
stable_branch: master
user_name: compliance-github-bot
development_branch: qa-stable
push_token: 'GITHUB_TOKEN'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}