File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,17 +43,10 @@ jobs:
4343 run : |
4444 python - <<'EOF'
4545 import sys, pathlib
46- ignore_file = pathlib.Path(".projectsignore")
47- ignored = set()
48- if ignore_file.exists():
49- for line in ignore_file.read_text().splitlines():
50- line = line.strip()
51- if line and not line.startswith("#"):
52- ignored.add(line)
5346 errors = []
5447 checked = 0
5548 for project in pathlib.Path("projects").iterdir():
56- if not project.is_dir() or project.name in ignored :
49+ if not project.is_dir():
5750 continue
5851 checked += 1
5952 mp = project / "machine-profile.yaml"
6457 for e in errors:
6558 print(f" {e}")
6659 sys.exit(1)
67- print(f"All {checked} project(s) have machine-profile.yaml (skipped: {ignored or 'none'}) ")
60+ print(f"All {checked} project(s) have machine-profile.yaml")
6861 EOF
6962
7063 - name : Verify no .anpkg files committed
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments