aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorNikita Kozlovskii <nmk@ydb.tech>2024-12-24 16:38:37 +0100
committerGitHub <noreply@github.com>2024-12-24 16:38:37 +0100
commit18d6880714f8c58d4417847c42c1829db98121e2 (patch)
treec0bfca941f0b9915bea71ab8e1f60c73b010e3e3 /.github
parented24bb6783d10889818c5c69c59de5caf50f375f (diff)
downloadydb-18d6880714f8c58d4417847c42c1829db98121e2.tar.gz
rightlib sync workflow (#12916)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/righlib_sync.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/righlib_sync.yml b/.github/workflows/righlib_sync.yml
new file mode 100644
index 0000000000..49999672d7
--- /dev/null
+++ b/.github/workflows/righlib_sync.yml
@@ -0,0 +1,30 @@
+name: Rightlib sync
+on:
+ 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