Skip to content

Commit

Permalink
Update dash-license-check.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Neidhart <[email protected]>
  • Loading branch information
netomi authored Nov 10, 2023
1 parent d82623e commit 3c6280a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dash-license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ concurrency:

jobs:
license-check:
# don't run this workflow in forks
if: github.repository == 'netomi/macos-notarization-service'
# don't run this workflow in forks and only for changes to the default branch
if: github.repository == 'netomi/macos-notarization-service' &&
github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
uses: eclipse/dash-licenses/.github/workflows/mavenLicenseCheck.yml@master
permissions:
contents: write
Expand Down

0 comments on commit 3c6280a

Please sign in to comment.