Skip to content

Commit ae94859

Browse files
committed
ci(ohrisk): smoke test action
1 parent caf6dc4 commit ae94859

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/ohrisk-smoke.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Ohrisk Action Smoke
2+
3+
on:
4+
push:
5+
branches:
6+
- task/ohrisk-action-smoke
7+
workflow_dispatch:
8+
9+
permissions: {}
10+
11+
jobs:
12+
ohrisk:
13+
name: Run Ohrisk action
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v7
19+
with:
20+
persist-credentials: false
21+
22+
- name: Scan license risk
23+
uses: 0disoft/ohrisk@main
24+
with:
25+
command: scan
26+
format: html
27+
output: reports/ohrisk.html
28+
prod: "true"
29+
fail-on: ""
30+
31+
- name: Upload report
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: ohrisk-html
35+
path: reports/ohrisk.html

0 commit comments

Comments
 (0)