From 19f0e2cd1e804503d2c95abd3119a1364ef99985 Mon Sep 17 00:00:00 2001 From: William Smith Date: Thu, 1 Oct 2026 10:47:45 -0700 Subject: [PATCH] ci: Publish creates the report's folder before writing it The dry run failed in Write the security report: security_scan.py writes the report but does not create its folder. --- .github/workflows/publish.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f22249a..cfce67a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -140,11 +140,12 @@ jobs: path: release-files/ - name: Write the report - run: >- - python tools/security_scan.py - --report "security-report/v$VERSION-security-report.md" - --title "Security report for ROneCOne v$VERSION" - release-files/ROneCOne.cls + run: | + mkdir -p security-report + python tools/security_scan.py \ + --report "security-report/v$VERSION-security-report.md" \ + --title "Security report for ROneCOne v$VERSION" \ + release-files/ROneCOne.cls - name: Keep the report uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1