Skip to content

Update nvd vuln-list #953

Update nvd vuln-list

Update nvd vuln-list #953

Workflow file for this run

name: Update nvd vuln-list
on:
schedule:
- cron: "0 */11 * * *"
workflow_dispatch:
concurrency:
group: vuln-${{ github.head_ref || github.run_id }}
cancel-in-progress: false
jobs:
update:
name: Update repo vuln-list
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Set Owner
run: echo "VULNLIST_REPOSITORY_OWNER=$(echo ${GITHUB_REPOSITORY} | awk -F / '{print $1}' | sed -e 's/:refs//')" >> $GITHUB_ENV
shell: bash
- name: Setup github user email and name
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
- name: Compile vuln-list-update
run: go build -o vuln-list-update .
- if: always()
name: nvd
run: ./vuln-list-update -target nvd