blob: 961ef6c3a85eaccc285c650485b728a1a949f893 (
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
|
name: Rightlib sync
on:
schedule:
- cron: "0 0 * * *" # At 00:00 -- for PR creation
- cron: "0 5 * * *" # At 05:00 -- for PR completion
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: install packages
run: |
pip install PyGithub==2.5.0
- name: checkout main
uses: actions/checkout@v4
with:
sparse-checkout: |
ydb/ci/rightlib
- name: configure
run: |
git config --global user.email "alex@ydb.tech"
git config --global user.name "Alexander Smirnov"
- name: run sync
env:
REPO: ${{ github.repository }}
TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
run: |
cd ./ydb/ci/rightlib
./sync-rightlib.py
|