We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a1afbd commit 0985054Copy full SHA for 0985054
.github/workflows/legacy-guard.yml
@@ -0,0 +1,16 @@
1
+name: Legacy Paths Guard
2
+on: [pull_request]
3
+jobs:
4
+ guard:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - uses: actions/checkout@v4
8
+ - name: Block legacy tool paths
9
+ shell: bash
10
+ run: |
11
+ set -e
12
+ CHANGED=$(git diff --name-only origin/main...HEAD || true)
13
+ if echo "$CHANGED" | grep -E '^tools/(Unpack|Scan|Backfill|New-InboxManifest)\.ps1$|^\.github/workflows/advice-inbox-guard\.yml$' ; then
14
+ echo "::error ::Legacy tool path changed; use tools/cosuite/1.0/* instead."
15
+ exit 1
16
+ fi
0 commit comments