From 7c48e7c2f346be766a03b00b1104969f4d167358 Mon Sep 17 00:00:00 2001 From: Rick M Date: Mon, 2 Dec 2024 10:49:00 -0500 Subject: [PATCH] Generate Scan Policies from Policy Tags Workflow adjustment (2) --- .github/workflows/generate_policies.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate_policies.yml b/.github/workflows/generate_policies.yml index 99ffd965f7..2d8106780e 100644 --- a/.github/workflows/generate_policies.yml +++ b/.github/workflows/generate_policies.yml @@ -1,5 +1,5 @@ name: Generate Scan Policies from Policy Tags -on: +on: schedule: # The start of every Friday - cron: '0 0 * * 5' workflow_dispatch: @@ -40,6 +40,7 @@ jobs: SRC_BASE="zaproxy/zap-extensions@"$(git log -1 --format=format:%h) git checkout -b $BRANCH git remote add upstream https://github.com/zaproxy/zap-extensions.git + git fetch upstream # Update the index to be sure git is aware of changes git update-index -q --refresh git add .