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 dd14e21
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/cve_reporting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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 _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: WFLY-18570
title: Update CVE data
body: Automated update of CVE data

0 comments on commit dd14e21

Please sign in to comment.