From 4b9c48238449137b6cda500c1fd153ed7ed5d8a1 Mon Sep 17 00:00:00 2001 From: Dmitry Galenko Date: Mon, 21 Nov 2022 08:10:21 +0100 Subject: [PATCH 1/3] Fix empty workflow --- .../workflows/sec_sast_flawfinder_pull.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/sec_sast_flawfinder_pull.yml b/.github/workflows/sec_sast_flawfinder_pull.yml index e69de29bb..8fe3632b4 100644 --- a/.github/workflows/sec_sast_flawfinder_pull.yml +++ b/.github/workflows/sec_sast_flawfinder_pull.yml @@ -0,0 +1,28 @@ +--- +name: Semgrep Differential Scan +on: + pull_request + +jobs: + + semgrep-diff: + runs-on: ubuntu-latest + container: + image: returntocorp/semgrep + + steps: + + # step 1 + - name: clone application source code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + # step 2 + - name: differential scan + run: | + semgrep scan \ + --error \ + --metrics=off \ + --baseline-commit ${{ github.event.pull_request.base.sha }} \ + --config="p/default" From 9cdf627ae3053ab6211a88dad6d7faeee2550006 Mon Sep 17 00:00:00 2001 From: Dmitry Galenko Date: Mon, 21 Nov 2022 08:12:52 +0100 Subject: [PATCH 2/3] Revert "Fix empty workflow" This reverts commit 4b9c48238449137b6cda500c1fd153ed7ed5d8a1. --- .../workflows/sec_sast_flawfinder_pull.yml | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/.github/workflows/sec_sast_flawfinder_pull.yml b/.github/workflows/sec_sast_flawfinder_pull.yml index 8fe3632b4..e69de29bb 100644 --- a/.github/workflows/sec_sast_flawfinder_pull.yml +++ b/.github/workflows/sec_sast_flawfinder_pull.yml @@ -1,28 +0,0 @@ ---- -name: Semgrep Differential Scan -on: - pull_request - -jobs: - - semgrep-diff: - runs-on: ubuntu-latest - container: - image: returntocorp/semgrep - - steps: - - # step 1 - - name: clone application source code - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - # step 2 - - name: differential scan - run: | - semgrep scan \ - --error \ - --metrics=off \ - --baseline-commit ${{ github.event.pull_request.base.sha }} \ - --config="p/default" From 51d0d0d77948916e256463e3637ac34ccb6dea4f Mon Sep 17 00:00:00 2001 From: Dmitry Galenko Date: Mon, 21 Nov 2022 08:13:28 +0100 Subject: [PATCH 3/3] Fix empty workflow --- .github/workflows/sec_sast_flawfinder_pull.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .github/workflows/sec_sast_flawfinder_pull.yml diff --git a/.github/workflows/sec_sast_flawfinder_pull.yml b/.github/workflows/sec_sast_flawfinder_pull.yml deleted file mode 100644 index e69de29bb..000000000