From ae94859b1cfdc7c064498a1e9ed8b23d7060971c Mon Sep 17 00:00:00 2001 From: 0disoft Date: Sun, 28 Jun 2026 19:05:24 +0900 Subject: [PATCH 1/2] ci(ohrisk): smoke test action --- .github/workflows/ohrisk-smoke.yml | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ohrisk-smoke.yml diff --git a/.github/workflows/ohrisk-smoke.yml b/.github/workflows/ohrisk-smoke.yml new file mode 100644 index 0000000..cdd5a0b --- /dev/null +++ b/.github/workflows/ohrisk-smoke.yml @@ -0,0 +1,35 @@ +name: Ohrisk Action Smoke + +on: + push: + branches: + - task/ohrisk-action-smoke + workflow_dispatch: + +permissions: {} + +jobs: + ohrisk: + name: Run Ohrisk action + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + persist-credentials: false + + - name: Scan license risk + uses: 0disoft/ohrisk@main + with: + command: scan + format: html + output: reports/ohrisk.html + prod: "true" + fail-on: "" + + - name: Upload report + uses: actions/upload-artifact@v4 + with: + name: ohrisk-html + path: reports/ohrisk.html From 1abd491e50112956ff85119e7c3bd17ea4542afd Mon Sep 17 00:00:00 2001 From: 0disoft Date: Sun, 28 Jun 2026 19:20:53 +0900 Subject: [PATCH 2/2] ci(ohrisk): use latest artifact upload action --- .github/workflows/ohrisk-smoke.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ohrisk-smoke.yml b/.github/workflows/ohrisk-smoke.yml index cdd5a0b..24160de 100644 --- a/.github/workflows/ohrisk-smoke.yml +++ b/.github/workflows/ohrisk-smoke.yml @@ -29,7 +29,7 @@ jobs: fail-on: "" - name: Upload report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ohrisk-html path: reports/ohrisk.html