Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
--- /dev/null
+---
+name: "Check for missing .qa links"
+on: [pull_request]
+
+jobs:
+ pull_request:
+ name: "Check for missing .qa links"
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout ceph.git
+ uses: actions/checkout@v4
+ with:
+ path: ceph
+
+ - name: verify .qa links
+ run: ./src/script/verify-qa
+ working-directory: ceph
--- /dev/null
+#!/bin/bash
+
+find qa/suites/ -type d -execdir ln -sfT ../.qa/ {}/.qa \;
+
+git add '*.qa'
+
+DIFF=$(git diff --cached)
+
+if [ -z "$DIFF" ]; then
+ printf 'passed\n'
+ exit 0
+else
+ printf 'Please apply the following patch:\n\n%s\n' "$DIFF"
+ exit 1
+fi