From c3e79c26be8dd9b7008c5cc1a21368006f545eca Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 16 Jun 2023 18:55:15 +0200 Subject: Create semgrep.yml --- .github/workflows/semgrep.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/semgrep.yml (limited to '.github/workflows') diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml new file mode 100644 index 00000000..29db8bec --- /dev/null +++ b/.github/workflows/semgrep.yml @@ -0,0 +1,21 @@ +name: semgrep +on: + pull_request: {} + push: + branches: + - master + - stable + paths: + - .github/workflows/semgrep.yml +jobs: + semgrep: + name: semgrep/ci + runs-on: ubuntu-latest + # env: + # SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} + container: + image: returntocorp/semgrep + # if: (github.actor != 'dependabot[bot]') + steps: + - uses: actions/checkout@v3 + - run: semgrep ci -- cgit v1.2.3