From 39a7ce97f5664264f19f5e19417fae976bff1528 Mon Sep 17 00:00:00 2001 From: soulteary Date: Mon, 13 Jun 2022 10:20:18 +0800 Subject: [PATCH] chore: update security scan rule --- .github/workflows/scan.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 1ddbe5b..bff5358 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -4,13 +4,17 @@ name: "Security Scan" # The scheduled workflow runs every at 00:00 on Sunday UTC time. on: push: + branches: + - main paths: - - 'cli' - - 'linux' - - 'pkgs' - - 'proxy' - - 'apt-proxy.go' + - 'cli/**' + - 'linux/**' + - 'pkgs/**' + - 'proxy/**' + - '*.go' pull_request: + branches: + - main schedule: - cron: '0 0 * * 0'