-
Notifications
You must be signed in to change notification settings - Fork 492
42 lines (40 loc) · 1.31 KB
/
sync-postgres.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
38
39
40
41
42
name: sync with postgres upstream
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: repo-sync-master
uses: repo-sync/github-sync@v2
with:
source_repo: https://github.com/postgres/postgres.git
source_branch: master
destination_branch: master
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: repo-sync-17
uses: repo-sync/github-sync@v2
with:
source_repo: https://github.com/postgres/postgres.git
source_branch: REL_17_STABLE
destination_branch: REL_17_STABLE
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: repo-sync-16
uses: repo-sync/github-sync@v2
with:
source_repo: https://github.com/postgres/postgres.git
source_branch: REL_16_STABLE
destination_branch: REL_16_STABLE
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: repo-sync-15
uses: repo-sync/github-sync@v2
with:
source_repo: https://github.com/postgres/postgres.git
source_branch: REL_15_STABLE
destination_branch: REL_15_STABLE
github_token: ${{ secrets.GITHUB_TOKEN }}