ci: add port release updater (#7590)

This commit is contained in:
Liam
2025-01-15 02:50:52 -05:00
committed by GitHub
parent 5f5c74c088
commit 124b2e268d
3 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
name: Port repo release update
on:
push:
branches:
- 'release/v*' # on release branches
workflow_dispatch: # allow manual triggering
jobs:
run-release-branch-updater:
if: github.repository == 'lvgl/lvgl'
runs-on: ubuntu-24.04
steps:
- name: Checkout LVGL
uses: actions/checkout@v4
with:
path: lvgl
fetch-depth: 0 # fetch all
- name: set git credentials
run: |
git config user.name 'lvgl-bot'
git config user.email 'lvgl-bot@users.noreply.github.com'
- name: run the script
run: python3 lvgl/scripts/release_branch_updater.py --oldest-major 9