mirror of
https://github.com/0xMarcio/cve.git
synced 2025-06-19 17:30:12 +00:00
Update generate_cve_json.yml
This commit is contained in:
parent
23d02b7db0
commit
e5b0630939
5
.github/workflows/generate_cve_json.yml
vendored
5
.github/workflows/generate_cve_json.yml
vendored
@ -5,9 +5,6 @@ on:
|
||||
push: # This will run the workflow on every push
|
||||
branches:
|
||||
- main # Adjust this if you want to run on other branches as well
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # This will run the workflow every day at midnight UTC
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@ -34,7 +31,7 @@ jobs:
|
||||
git config --global user.email 'marc@codepwn.win'
|
||||
git remote set-url origin https://github-actions[bot]:$GITHUB_TOKEN@github.com/0xMarcio/cve.git
|
||||
git add .
|
||||
git commit -m 'Update CVE list JSON'
|
||||
git commit -m "Update CVE list `date +"%Y-%m-%d %H:%M:%S"`"
|
||||
git push origin main
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user