forked from RocketChat/Rocket.Chat
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (40 loc) · 1.16 KB
/
auto_catchup.yml
File metadata and controls
45 lines (40 loc) · 1.16 KB
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
40
41
42
43
44
45
name: Upstream catchup from Rocketchat develop
on:
# DISABLED for the moment
# schedule:
# - cron: '0 0 * * 1' #on every Monday
workflow_dispatch:
inputs:
name:
description: 'Manual test'
default: 'test'
required: true
jobs:
catchup:
name: Upstream Catchup
runs-on: ubuntu-latest
steps:
- name: Catchup Info
run: |
echo "GITHUB_ACTION: $GITHUB_ACTION"
echo "GITHUB_ACTOR: $GITHUB_ACTOR"
echo "GITHUB_REF: $GITHUB_REF"
echo "github.event_name: ${{ github.event_name }}"
cat $GITHUB_EVENT_PATH
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Create Catchup PR
uses: shubhsherl/create-catchup-pr@v0.1.0
with:
GITHUB_TOKEN: ${{secrets.PAT}}
SOURCE_BRANCH: "master"
SOURCE_REPO: "RocketChat"
TARGET_BRANCH: "develop"
GITHUB_REPO: ${{github.repository}}
TITLE: "[Upstream Catchup] Merge RC:master to develop_pwa"
BODY: "Weekly Catchup PR to merge RC:master in develop_pwa."
DRAFT: "true"