From 4f7b77f7808ba9db531d00b5c4cbef0559b8d279 Mon Sep 17 00:00:00 2001 From: Coding-Dev-Tools Date: Tue, 30 Jun 2026 06:39:29 -0400 Subject: [PATCH 1/2] improve: fix pyproject.toml optional-deps key conflict and clean .gitignore --- .gitignore | 1 - pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e069b39..5e7d1ea 100644 --- a/.gitignore +++ b/.gitignore @@ -71,4 +71,3 @@ Thumbs.db research/ fixtures/generated/ .ruff_cache/ -nul diff --git a/pyproject.toml b/pyproject.toml index 9a36e77..0743e97 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dev = [ "ruff>=0.4.0", ] toml = ["tomli>=2.0.0", "tomli-w>=1.0.0"] -license = ["revenueholdings-license>=0.1.0"] +license-check = ["revenueholdings-license>=0.1.0"] [project.urls] Homepage = "https://github.com/Coding-Dev-Tools/configdrift" From 609fdf3923ec4691b8e290f3c11148543103333c Mon Sep 17 00:00:00 2001 From: Coding-Dev-Tools Date: Thu, 2 Jul 2026 00:16:29 -0400 Subject: [PATCH 2/2] fix: remove broken release-audit workflow (harness repo removed) --- .github/workflows/release-audit.yml | 64 ----------------------------- 1 file changed, 64 deletions(-) delete mode 100644 .github/workflows/release-audit.yml diff --git a/.github/workflows/release-audit.yml b/.github/workflows/release-audit.yml deleted file mode 100644 index 6d372c8..0000000 --- a/.github/workflows/release-audit.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: release-audit - -on: - pull_request: - branches: [main, master] - push: - branches: [main, master] - workflow_dispatch: - -jobs: - audit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 (pinned) - with: - path: target - - - name: Check out the shared release-audit harness - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 (pinned) - with: - repository: Coding-Dev-Tools/release-audit - path: harness - # Pin to a tag once a stable release is published; main is fine - # for now since the harness is small and self-contained. - ref: main - - - name: Set up Python - uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 (pinned) - with: - python-version: "3.11" - - - name: Run the 8-angle release audit - working-directory: harness - env: - GITHUB_WORKSPACE: ${{ github.workspace }} - run: | - python audit.py "$GITHUB_WORKSPACE/target" --out-dir scorecard - python3 - <<'PY' - import json, os, pathlib - repo = pathlib.Path(os.environ["GITHUB_WORKSPACE"], "target").name - data = json.loads(pathlib.Path("scorecard", f"{repo}.json").read_text()) - print("## Release Audit (8 angles)") - print() - print(f"**Overall grade: {data['overall_grade']}** ({data['angles_passing']}/{data['angles_total']} angles passing)") - print() - print("| Angle | Grade |") - print("|-------|-------|") - for a in data["angles"]: - print(f"| {a['angle']} | {a['grade']} |") - PY - - - name: Fail on blockers - working-directory: harness - env: - GITHUB_WORKSPACE: ${{ github.workspace }} - run: | - python3 - <<'PY' - import json, os, pathlib, sys - repo = pathlib.Path(os.environ["GITHUB_WORKSPACE"], "target").name - data = json.loads(pathlib.Path("scorecard", f"{repo}.json").read_text()) - if data["blockers"] > 0: - print(f"::error::{data['blockers']} release-blocker angle(s) — see audit output above") - sys.exit(1) - PY