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

This commit is contained in:
Armin Schrenk
2023-12-12 14:58:48 +01:00
parent e194f9b205
commit 851838e3a2

View File

@@ -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