From 6faa9b3aba9f3361ea4fc74aa41ccb95ab5a6019 Mon Sep 17 00:00:00 2001 From: IMISSHER99 <145341240+IMISSHER99@users.noreply.github.com> Date: Sat, 15 Jun 2024 16:00:02 +0530 Subject: [PATCH] Added Permissions (#23) --- .github/workflows/vulnerability_scan.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/vulnerability_scan.yml b/.github/workflows/vulnerability_scan.yml index 012ac08..f7eb74b 100644 --- a/.github/workflows/vulnerability_scan.yml +++ b/.github/workflows/vulnerability_scan.yml @@ -1,11 +1,13 @@ name: "Vulnerability Scan" on: + push: + branches: [main, golden, develop] pull_request: - types: [opened] - workflow_dispatch: + types: [opened] + workflow_dispatch: # Allow manual trigger permissions: - pull-requests: write + pull-requests: write jobs: scan: