Skip to content

Update PX4 Metadata #58

Update PX4 Metadata

Update PX4 Metadata #58

Workflow file for this run

name: Update PX4 Metadata
on:
schedule:
- cron: '0 6 * * *' # Daily at 6:00 AM UTC
workflow_dispatch:
concurrency:
group: 'px4-metadata'
cancel-in-progress: true
permissions:
contents: write
pull-requests: write
jobs:
update-px4-metadata:
if: github.repository_owner == 'mavlink'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v6
- name: Download PX4 airframe metadata
run: curl -fsSL https://artifacts.px4.io/Firmware/_general/airframes.xml -o src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml
- name: Download PX4 parameter metadata
run: curl -fsSL https://artifacts.px4.io/Firmware/_general/parameters.xml -o src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
branch: update-px4-metadata
title: "chore: update PX4 metadata"
commit-message: "chore: update PX4 metadata"
body: |
This PR was automatically generated by GitHub Actions to update the bundled PX4 metadata files.
Updated files:
- `src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml` (airframe definitions)
- `src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml` (parameter catalog)
Source: https://artifacts.px4.io/Firmware/_general/