diff --git a/.github/workflows/cve-scanning.yml b/.github/workflows/cve-scanning.yml index 30f401c3..e7acf297 100644 --- a/.github/workflows/cve-scanning.yml +++ b/.github/workflows/cve-scanning.yml @@ -17,6 +17,8 @@ on: jobs: depcheck: + # Skip this job for release commits + if: "!contains(github.event.head_commit.message, '[maven-release-plugin]')" runs-on: ubuntu-latest steps: - name: Checkout repo diff --git a/.github/workflows/license-scanning.yml b/.github/workflows/license-scanning.yml index 05b0bdc5..d120be3a 100644 --- a/.github/workflows/license-scanning.yml +++ b/.github/workflows/license-scanning.yml @@ -19,6 +19,8 @@ env: jobs: scan: + # Skip this job for release commits + if: "!contains(github.event.head_commit.message, '[maven-release-plugin]')" runs-on: ubuntu-latest steps: - name: Checkout repo