From b95103cab0692f205c66d9f5b6685d6bad9f32a1 Mon Sep 17 00:00:00 2001 From: Dmitry Galenko Date: Sun, 20 Nov 2022 16:16:04 +0100 Subject: [PATCH] Run flawfinder only on push to specific branch --- .github/workflows/sast_flawfinder_full.yml | 12 ++++++------ .github/workflows/sast_flawfinder_pull.yml | 0 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 .github/workflows/sast_flawfinder_pull.yml diff --git a/.github/workflows/sast_flawfinder_full.yml b/.github/workflows/sast_flawfinder_full.yml index a6337ffa6..e2ba44090 100644 --- a/.github/workflows/sast_flawfinder_full.yml +++ b/.github/workflows/sast_flawfinder_full.yml @@ -1,12 +1,12 @@ --- -name: Flawfinder Full Scan +name: Flawfinder Scan on: - workflow_dispatch: - branches: - - master - schedule: - - cron: '0 1 * * 6' + push: + branches: [master, develop] + paths-ignore: + - "**.md" + - "version.properties" jobs: flawfinder: diff --git a/.github/workflows/sast_flawfinder_pull.yml b/.github/workflows/sast_flawfinder_pull.yml new file mode 100644 index 000000000..e69de29bb