forked from lingui/js-lingui
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 858 Bytes
/
next-sync.yml
File metadata and controls
36 lines (31 loc) · 858 Bytes
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: next-sync
on:
push:
branches:
- main
jobs:
next-sync:
runs-on: ubuntu-latest
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v2-beta
with:
node-version: 14
- name: Prepare Lingui-Bot git account
uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
name: 'Lingui Bot'
email: 'linguibot@gmail.com'
actor: 'lingui-bot'
token: '${{ secrets.GH_TOKEN }}'
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.2.0
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
FROM_BRANCH: "main"
TO_BRANCH: "next"