forked from wildfly/wildfly.org
-
Notifications
You must be signed in to change notification settings - Fork 0
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 e96ca0d
Showing
1 changed file
with
39 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,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 |