Skip to content

Commit

Permalink
Merge pull request #5972 from kingthorin/scanpol-wf
Browse files Browse the repository at this point in the history
Generate Scan Policies from Policy Tags Workflow adjustment (2)
  • Loading branch information
thc202 authored Dec 2, 2024
2 parents a74a763 + 7c48e7c commit c179ab7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/generate_policies.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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 .
Expand Down

0 comments on commit c179ab7

Please sign in to comment.