mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
* runs all scripts * runs on the exact commit not the merge commit Signed-off-by: Ramon Roche <mrpollo@gmail.com>
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: Docs Metadata Checks
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
pull_request: {}
|
|
|
|
jobs:
|
|
metadata-check:
|
|
name: ${{ matrix.name }}
|
|
runs-on: [runs-on,runner=2cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=true]
|
|
container:
|
|
image: ghcr.io/px4/px4-dev:v1.16.0-ondemand
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- name: uORB Graphs
|
|
script: Tools/ci/metadata_uorb_graph.sh
|
|
- name: Failsafe Web
|
|
script: Tools/ci/metadata_failsafe_web.sh
|
|
- name: uORB Messages
|
|
script: Tools/ci/metadata_msg_docs.sh
|
|
- name: Parameter Reference
|
|
script: Tools/ci/metadata_parameters.sh
|
|
- name: Airframe Reference
|
|
script: Tools/ci/metadata_airframe.sh
|
|
- name: Module Reference
|
|
script: Tools/ci/metadata_modules.sh
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
fetch-depth: 0
|
|
persist-credentials: true
|
|
|
|
- name: Mark all directories safe for Git
|
|
run: git config --system --add safe.directory '*'
|
|
|
|
- name: Run ${{ matrix.name }} metadata check
|
|
run: ${{ matrix.script }} --test-only
|