You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centralized workflow dependency-audit.yml references the reusable but is not pinned to @v1 (org standard). Replace with the canonical stub from standards/workflows/dependency-audit.yml which delegates to petry-projects/.github/.github/workflows/dependency-audit-reusable.yml@v1.
Replace @v2 with @v1 in .github/workflows/dependency-audit.yml to match the canonical stub at petry-projects/.github/standards/workflows/dependency-audit.yml.
Implementation Checklist
Write failing test (tests/dev-lead/integration/test_dependency_audit_stub.py) that asserts dependency-audit.yml delegates to the reusable at @v1
tests/dev-lead/integration/test_dependency_audit_stub.py — validates the uses: line in dependency-audit.yml is pinned to @v1 (mirrors test_workflow_toplevel_permissions.py pattern)
.github/workflows/dependency-audit.yml: changed uses: pin from @v2 to @v1 to match the canonical org stub at petry-projects/.github/standards/workflows/dependency-audit.yml
tests/dev-lead/integration/test_dependency_audit_stub.py: new test that validates the uses: line is pinned to @v1
Notes
The only difference between the canonical stub and this repo's file was the reusable ref (@v2 vs the required @v1). All other header comments, triggers, permissions, and job names were already correct and unchanged.
Activity
don-petry commentedon Jun 10, 2026
Dev-Lead Implementation Plan
Issue: #545 — Compliance: non-stub-dependency-audit.yml
Scope
Replace
@v2with@v1in.github/workflows/dependency-audit.ymlto match the canonical stub atpetry-projects/.github/standards/workflows/dependency-audit.yml.Implementation Checklist
tests/dev-lead/integration/test_dependency_audit_stub.py) that assertsdependency-audit.ymldelegates to the reusable at@v1.github/workflows/dependency-audit.yml: changeuses: …@v2→uses: …@v1Tests to Write
tests/dev-lead/integration/test_dependency_audit_stub.py— validates theuses:line independency-audit.ymlis pinned to@v1(mirrorstest_workflow_toplevel_permissions.pypattern)Test Command
python3 tests/dev-lead/integration/test_dependency_audit_stub.pydon-petry commentedon Jun 10, 2026
Dev-Lead: Implementation Complete
Plan Execution
tests/dev-lead/integration/test_dependency_audit_stub.py) asserting@v1pin — confirmed red before fix.github/workflows/dependency-audit.yml: changeduses: …@v2→uses: …@v1to match canonical stubTest Results
Files Changed
.github/workflows/dependency-audit.yml: changeduses:pin from@v2to@v1to match the canonical org stub atpetry-projects/.github/standards/workflows/dependency-audit.ymltests/dev-lead/integration/test_dependency_audit_stub.py: new test that validates theuses:line is pinned to@v1Notes
The only difference between the canonical stub and this repo's file was the reusable ref (
@v2vs the required@v1). All other header comments, triggers, permissions, and job names were already correct and unchanged.feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (
feat: implement issue #545 — Compliance: non-stub-dependency-audit.yml (