From d530bd5a7ff77a21d424a0dbad7c12bd0723b61b Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Tue, 6 May 2025 10:12:29 -0700 Subject: [PATCH] ci: checks for airframe metadata changes Signed-off-by: Ramon Roche --- .github/workflows/docs_metadata_check.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/docs_metadata_check.yml b/.github/workflows/docs_metadata_check.yml index bfca7d9296..daef38f917 100644 --- a/.github/workflows/docs_metadata_check.yml +++ b/.github/workflows/docs_metadata_check.yml @@ -82,3 +82,21 @@ jobs: - name: Run parameter docs check run: Tools/ci/metadata_parameters.sh --test-only + + airframe-check: + name: Check airframe reference metadata + 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-rc1 + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + persist-credentials: true + + - name: Mark all directories safe for Git + run: git config --system --add safe.directory '*' + + - name: Run airframe docs check + run: Tools/ci/metadata_airframe.sh --test-only