1name: Port repo release update
2
3on:
4  push:
5    branches:
6      - 'release/v*' # on release branches
7  workflow_dispatch: # allow manual triggering
8
9# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
10# Ensure that only one commit will be running tests at a time on each push
11concurrency:
12  group: ${{ github.ref }}-${{ github.workflow }}
13  cancel-in-progress: true
14
15jobs:
16  run-release-branch-updater:
17    if: github.repository == 'lvgl/lvgl'
18    runs-on: ubuntu-24.04
19
20    steps:
21      - name: Checkout LVGL
22        uses: actions/checkout@v4
23        with:
24          path: lvgl
25          fetch-depth: 0   # fetch all
26
27      - name: set git credentials
28        run: |
29          git config user.name 'lvgl-bot'
30          git config user.email 'lvgl-bot@users.noreply.github.com'
31
32      - name: run the script
33        run: python3 lvgl/scripts/release_branch_updater.py --oldest-major 9
34