From 3ff756b4b9c32eb0c6cc84b82daa727ed6e86291 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Fri, 6 Nov 2026 18:40:11 +0100 Subject: [PATCH] ci: reject DevScripts URLs in scripts openwrt-vm and umbrel-os-vm kept the DevScripts base URL when they moved over, and telemetry filed their production runs under DevScripts. The check fails a pull request that adds such a URL to ct, install, vm or tools. --- .github/workflows/check-script-repo-url.yml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/check-script-repo-url.yml diff --git a/.github/workflows/check-script-repo-url.yml b/.github/workflows/check-script-repo-url.yml new file mode 100644 index 000000000..f3f7d742f --- /dev/null +++ b/.github/workflows/check-script-repo-url.yml @@ -0,0 +1,27 @@ +name: Check Script Repo URL + +on: + pull_request: + branches: ["main"] + paths: + - "ct/**" + - "install/**" + - "vm/**" + - "tools/**" + +permissions: + contents: read + +jobs: + check: + if: github.repository == 'community-scripts/ProxmoxVE' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Reject DevScripts URLs + run: | + if grep -rnE 'community-scripts/(ProxmoxVED|DevScripts)/' ct install vm tools; then + echo "::error::These lines point at DevScripts, so telemetry files the runs there. Use community-scripts/ProxmoxVE." + exit 1 + fi