diff --git a/.github/workflows/sync-postgres.yml b/.github/workflows/sync-postgres.yml index d56e3132af8..f7aa870ae70 100644 --- a/.github/workflows/sync-postgres.yml +++ b/.github/workflows/sync-postgres.yml @@ -12,31 +12,18 @@ jobs: - 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 + - name: repo-sync-all 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 + source_branch: "REL_*" + destination_branch: "REL_*" + sync_tags: "true" 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 + - name: repo-sync-master 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 + source_branch: master + destination_branch: master github_token: ${{ secrets.GITHUB_TOKEN }}