forked from RocketChat/Rocket.Chat.Apps-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.05 KB
/
auto_catchup.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
name: Upstream catchup from Rocket.Chat.Apps-compiler master
on:
schedule:
- cron: '0 0 * * 1' #on every Monday
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: "master"
GITHUB_REPO: ${{github.repository}}
TITLE: "[Upstream Catchup] Merge Rocket.Chat.Apps-compiler:master to master"
BODY: "Weekly Catchup PR to merge Rocket.Chat.Apps-compiler:master in master."
DRAFT: "true"