summaryrefslogtreecommitdiffstats
path: root/.github/workflows/prestable_sync.yml
blob: aa5e12363a3af63021cebc51a5e1433a4c03cad3 (plain) (blame)
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
name: Sync prestables
on:
  schedule:
    - cron: "30 0 * * *"   # At 00:30 -- for PR creation
  workflow_dispatch:
concurrency:
  group: ${{ github.workflow }}
  cancel-in-progress: true
env:
  GH_TOKEN: ${{ secrets.YDBOT_TOKEN }}
jobs:
  create-pr:
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      matrix:
        include:
          - base_branch: prestable-25-2
            head_branch: stable-25-1
            label: sync-prestable
          - base_branch: prestable-25-3
            head_branch: main
            label: sync-prestable
    steps:
      - name: checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          sparse-checkout: |
            .github
            ydb/ci/
      - uses: ./.github/actions/rightlib_sync
        with:
          base_branch: ${{ matrix.base_branch }}
          head_branch: ${{ matrix.head_branch }}
          label: ${{ matrix.label }}
          repository: ${{ github.repository }}
          gh_personal_access_token: ${{ env.GH_TOKEN }}