forked from polkadot-cloud/polkadot-staking-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (32 loc) · 1.08 KB
/
automatic-upstream-merge-pr.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: Automatic upstream merge
on:
# run on 1th and 15th day of any month, ie fortnightly
schedule:
- cron: '* * 1,15 * *'
# for testing, remove before merge
workflow_dispatch:
push:
branches:
- A0-3232
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
main:
name: Merge paritytech/polkadot-staking-dashboard
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Merge upstream repo
uses: Cardinal-Cryptography/github-actions/test-upstream-merge@v3
with:
target-repo: Cardinal-Cryptography/aleph-zero-dashboard
target-branch: master
upstream-repo-url: https://github.com/paritytech/polkadot-staking-dashboard
upstream-branch: main
slack-webhook-url: ${{ secrets.SLACK_INCOMING_WEBHOOK_TEMP_SLACK_NOTIFICATIONS }}
git-commit-author: ${{ secrets.AUTOCOMMIT_AUTHOR }}
git-commit-email: ${{ secrets.AUTOCOMMIT_EMAIL }}
gh-ci-token: ${{ secrets.CI_GH_TOKEN }}