Skip to content

Commit

Permalink
Scanning updates (#696)
Browse files Browse the repository at this point in the history
* Trying to use an environment to run scans for forks

* Only run workflow on dispatch
  • Loading branch information
DamianReeves authored Aug 27, 2024
1 parent 840a113 commit 66a2f40
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/scan-external-contributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ env:
ExcludeDirectory: " -D fileExcludes='*.class, **/website/, **/docs/, **/.*' "

on:
pull_request_target:
branches: ["main", "release/**", "0.4.x"]
workflow_dispatch:
# pull_request_target:
# branches: ["main", "release/**", "0.4.x"]


# cancel older runs of a pull request;
# this will not cancel anything for normal git pushes
Expand Down Expand Up @@ -54,9 +56,9 @@ jobs:
uses: actions/cache/save@v4
with:
path: |
out/morphir/${{matrix.scala}}/**/jvm/
out/morphir/**/jvm/
out/morphir/build/
key: ${{ runner.os }}-mill-jvm-${{matrix.java}}-${{ matrix.scala }}-${{ github.sha }}-${{ hashFiles('out') }}
key: ${{ runner.os }}-mill-jvm-${{ github.sha }}-${{ hashFiles('out') }}

############### SONATYPE SCAN ###############
sonatype-scan:
Expand Down

0 comments on commit 66a2f40

Please sign in to comment.