-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WFLY-18570 Automated-(ish) CVE status reporting
- Loading branch information
1 parent
5ce8ae2
commit 9fa2b49
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.