From 17256471974c082b0726726b5a116fec6ce121c3 Mon Sep 17 00:00:00 2001 From: sandeep Date: Sun, 27 Feb 2022 16:33:05 +0530 Subject: [PATCH] workflow fixes --- .github/workflows/cve-annotate.yml | 1 + .github/workflows/template-db-indexer.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cve-annotate.yml b/.github/workflows/cve-annotate.yml index bb4faf2ec2..53656429d8 100644 --- a/.github/workflows/cve-annotate.yml +++ b/.github/workflows/cve-annotate.yml @@ -35,6 +35,7 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" + git pull git add cves git commit -m "Auto Generated CVE annotations [$(date)] :robot:" -a diff --git a/.github/workflows/template-db-indexer.yml b/.github/workflows/template-db-indexer.yml index bead0c2f43..3fbda9c1e5 100644 --- a/.github/workflows/template-db-indexer.yml +++ b/.github/workflows/template-db-indexer.yml @@ -26,5 +26,4 @@ jobs: AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }} AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} run: | - generate-index -mode templates - generate-index -mode changelog \ No newline at end of file + generate-index -mode templates \ No newline at end of file