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 e96ca0d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/cve_reporting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CVE report publish

on:
schedule:
- cron: '*/5 * * * *'
push:
branches:
- WFLY-18570

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

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

- name: Fetch CVE Data
run: |
curl -o cve-data.yaml -L https://raw.githubusercontent.com/RanabirChakraborty/wildfly/WFLY-18570/cve_details/cve.yml
- name: Modify CVE Data
run: |
cat cve-data.yaml > _data/releases.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: WFLY-18570
title: Update CVE data
body: Automated update of CVE data

0 comments on commit e96ca0d

Please sign in to comment.