Merge pull request #442 from hivemq/improvement/update-contributing #105
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Snyk monitor on push | |
on: | |
push: | |
branches: | |
- master** | |
jobs: | |
run-snyk-monitor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Java | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4 | |
with: | |
distribution: 'temurin' | |
java-version: | | |
8 | |
11 | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
path: mqtt-cli | |
- name: Setup Snyk | |
uses: snyk/actions/setup@master | |
- name: Run Snyk monitor | |
shell: bash | |
run: snyk monitor --configuration-matching=^runtimeClasspath$ --target-reference=${{ github.ref_name }} --org=hivemq-mqtt-cli --project-name=hivemq-mqtt-cli --remote-repo-url=hivemq-mqtt-cli --project-lifecycle=development mqtt-cli -d | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |