-
Notifications
You must be signed in to change notification settings - Fork 1
25 lines (24 loc) · 960 Bytes
/
main.yml
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
on: [push]
jobs:
hello_world_job:
runs-on: ubuntu-latest
name: Check and update CVE records
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v3
- name: Validate and submit CVE records
uses: ./ # Uses an action in the root directory
with:
cve-user: ${{ secrets.CVE_USER }}
cve-org: ${{ secrets.CVE_ORG }}
cve-api-key : ${{ secrets.CVE_API_KEY }}
cve-environment: test
path: test-cves
reservations-path: test-cves/reservations
publish: ${{ github.ref == 'refs/heads/main' }}
ignore: publ_in_path,reserve_in_path
pr: ${{ github.ref == 'refs/heads/main' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
expire-after: "1y"