diff --git a/.github/workflows/generate_cve_json.yml b/.github/workflows/generate_cve_json.yml index 652032c7d..2bd717a1d 100644 --- a/.github/workflows/generate_cve_json.yml +++ b/.github/workflows/generate_cve_json.yml @@ -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 }}