Reconciles develop to master's latest renovate values for deps bumped on the 2.7 line but never back-merged, so the develop->master 2.8 promotion (#10777) doesn't regress them. Done as a value reconcile, not a cherry-pick: several master commits are superseded (5 device-ui bumps, 2 ststm32 bumps), and develop's stale archive/refs/tags/ URL form actually blocked renovate from bumping these (the regex expects archive/<version>.zip). GitHub Actions: - actions/checkout v6 -> v7 (35 refs) - actions/cache v5 -> v6 - actions/github-script v8 -> v9 (3 refs) - actions/stale v10.2.0 -> v10.3.0 Build / platform: - alpine 3.23 -> 3.24 (alpine.Dockerfile) - platformio/ststm32 19.5.0 -> 19.7.0 - platformio/nordicnrf52 10.11.0 -> 10.12.0 Libraries: - Adafruit SSD1306 2.5.16 -> 2.5.17 - SparkFun MMC5983MA v1.1.4 -> v1.1.5 - Sensirion I2C SCD30 1.0.0 -> 1.1.1 - meshtastic esp8266-oled-ssd1306 6bfd1f1 -> 2e26010 Deliberately excluded: - meshtastic/device-ui digest: coupled to firmware protobuf/API and develop has diverged hard (NodeDB v25); left for a separate maintainer bump + visual check. - libpax: develop uses the mverch67 fork (pinned by Arduino-3.x migration #9122), master uses dbinfrago -- a fork divergence, not a version bump; not reconciled. - platform-native digest: develop already at 61067ac (equal to master).
48 lines
1.4 KiB
YAML
48 lines
1.4 KiB
YAML
name: Update protobufs and regenerate classes
|
|
on: workflow_dispatch
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
update-protobufs:
|
|
runs-on: ubuntu-latest
|
|
permissions: # Needed for peter-evans/create-pull-request.
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v7
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Update submodule
|
|
if: ${{ github.ref_name == 'master' || github.ref_name == 'develop' }}
|
|
working-directory: protobufs
|
|
env:
|
|
# Use the branch that triggered the workflow as the protobuf branch.
|
|
GIT_BRANCH: ${{ github.ref_name }}
|
|
run: |
|
|
git fetch --prune origin $GIT_BRANCH
|
|
git checkout origin/$GIT_BRANCH
|
|
|
|
- name: Download nanopb
|
|
run: |
|
|
wget https://github.com/nanopb/nanopb/releases/download/nanopb-0.4.9.1/nanopb-0.4.9.1-linux-x86.tar.gz
|
|
tar xvzf nanopb-0.4.9.1-linux-x86.tar.gz
|
|
mv nanopb-0.4.9.1-linux-x86 nanopb-0.4.9
|
|
|
|
- name: Re-generate protocol buffers
|
|
run: |
|
|
./bin/regen-protos.sh
|
|
|
|
- name: Create pull request
|
|
uses: peter-evans/create-pull-request@v8
|
|
with:
|
|
branch: create-pull-request/update-protobufs-${{ github.ref_name }}
|
|
labels: submodules
|
|
title: Update protobufs and classes
|
|
commit-message: Update protobufs
|
|
add-paths: |
|
|
protobufs
|
|
src/mesh
|