Skip to content

Commit

Permalink
Only run maven publishing on secureCodeBox/defectdojo-client-java repo
Browse files Browse the repository at this point in the history
Signed-off-by: Heiko Kiesel <[email protected]>
  • Loading branch information
Heiko Kiesel authored and Weltraumschaf committed Sep 5, 2023
1 parent b8654ca commit 841a6e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ on:
jobs:
publish-release:
runs-on: ubuntu-22.04
if: github.repository == 'secureCodeBox/defectdojo-client-java'
permissions:
contents: write # needed for release creation
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
publish-snapshot:
runs-on: ubuntu-22.04
if: github.repository == 'secureCodeBox/defectdojo-client-java'
steps:

- name: Checkout repository
Expand Down

0 comments on commit 841a6e1

Please sign in to comment.