Skip to content

Commit

Permalink
Skip workflow jobs for release commits (finos#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-m-knight-gs authored Dec 11, 2023
1 parent 4cc8908 commit d003a5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cve-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/license-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d003a5d

Please sign in to comment.