summaryrefslogtreecommitdiffstats
path: root/.github/workflows/rightlib_sync.yml
blob: 15ea49e42915af69cba43791d90383d8bd3a4caa (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
name: Rightlib sync
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
    steps:
      - name: checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0
          sparse-checkout: |
            .github
            ydb/ci/
      - uses: ./.github/actions/rightlib_sync
        with:
          base_branch: main
          head_branch: rightlib
          label: rightlib
          repository: ${{ github.repository }}
          gh_personal_access_token: ${{ env.GH_TOKEN }}