Browse Source

remove run of dependency-chec workflow for release branches (already done in check release workflow)

Armin Schrenk 1 year ago
parent
commit
851838e3a2
1 changed files with 1 additions and 8 deletions
  1. 1 8
      .github/workflows/dependency-check.yml

+ 1 - 8
.github/workflows/dependency-check.yml

@@ -2,9 +2,6 @@ name: OWASP Maven Dependency Check
 on:
   schedule:
     - cron: '0 7 * * 0'
-  push:
-    branches:
-      - 'release/**'
   workflow_dispatch:
 
 
@@ -47,8 +44,4 @@ jobs:
           SLACK_TITLE: "Vulnerabilities in ${{ github.event.repository.name }} detected."
           SLACK_MESSAGE: "Download the <https://github.com/${{ github.repository }}/actions/run/${{ github.run_id }}|report> for more details."
           SLACK_FOOTER: false
-          MSG_MINIMAL: true
-      - name: Failing workflow on release branch
-        if: github.event_name == 'push' && steps.dependency-check.outcome == 'failure'
-        shell: bash
-        run: exit 1
+          MSG_MINIMAL: true