Skip to content

Commit

Permalink
WFLY-18570 Automated-(ish) CVE status reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
RanabirChakraborty committed Oct 27, 2023
1 parent 5ce8ae2 commit 9fa2b49
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cve_reporting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CVE report publish

on:
schedule:
- cron: '0 0,4,8,12,16,20 * * *'

jobs:
fetch-cve-data:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Fetch CVE Data
run: |
curl -o _data/releases.yml -L https://raw.githubusercontent.com/RanabirChakraborty/wildfly/WFLY-18570/cve_details/cve.yml
- name: Commit and Push Changes
run: |
git config user.name "RanabirChakraborty"
git config user.email "rchakrab@redhat.com"
git add _data/releases.yml
git commit -m "Update CVE data"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: update-cve-data
base: main
title: Update CVE data
body: Automated update of CVE data
Empty file added _data/cve_data.yml
Empty file.

0 comments on commit 9fa2b49

Please sign in to comment.