-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1006 Bytes
/
test_local_action_basic.yml
File metadata and controls
44 lines (36 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Test -- local action -- basic
on:
workflow_dispatch:
inputs:
repository:
description: 'Full repository name to generate report for'
required: true
default: octodemo-db/demo-vulnerabilities-ghas
ref:
description: 'Ref to generate report for'
required: true
default: main
sha:
description: 'SHA to generate report for'
required: true
default: 3231cf1ec9439d1e3984c447b2ee51960ec523e3
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test local action
uses: ./
with:
token: ${{ secrets.SECURITY_ACCESS_TOKEN }}
repository: ${{ inputs.repository }}
ref: ${{ inputs.ref }}
sha: ${{ inputs.sha }}
- name: Upload report
uses: actions/upload-artifact@v4
with:
name: security-report
path: summary.pdf