From ecaee82ba0d663cfb4c717504bff633bfd4511f8 Mon Sep 17 00:00:00 2001 From: Sam Oehlert Date: Mon, 11 Nov 2024 22:32:00 -0600 Subject: [PATCH] ci(actions): turn off duplicate SAST and turn on pytest in this branch SAST is already running via the settings on this repo --- .github/workflows/pytest.yml | 13 +++++++++---- .github/workflows/sast.yml | 31 ------------------------------- 2 files changed, 9 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/sast.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2a08de3c..8bb8625f 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -1,13 +1,18 @@ -name: Run pytest and coverage +name: Run pytest on: - # Runs on pushes targeting the default branch push: - branches: ["develop"] + branches: + - main + - develop + - topic/soehlert/github_ci + pull_request: + branches: + - main + - develop # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - pull_request: jobs: pytest: diff --git a/.github/workflows/sast.yml b/.github/workflows/sast.yml deleted file mode 100644 index b9417f77..00000000 --- a/.github/workflows/sast.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Run SAST - -on: - push: - branches: - - main - - develop - - topic/soehlert/github_ci # Add your branch here - pull_request: - branches: - - main - - develop - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -jobs: - sast: - name: Static Application Security Testing (SAST) - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v3 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: python - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2