diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 595a62e..084dbb6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,10 +6,7 @@ name: Scan Code for Secrets on: pull_request: - - opened - - reopened - - ready_for_review - - synchronize + types: [opened, reopened, ready_for_review, synchronize] push: branches: - '**' diff --git a/README.md b/README.md index 2c58f14..3264945 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,7 @@ name: Scan Code for Secrets on: pull_request: - - opened - - reopened - - ready_for_review - - synchronize + types: [opened, reopened, ready_for_review, synchronize] push: branches: - '**'