Add another workaround to CliNativeImagePlugin #158
This file contains 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** | |
workflow_call: | |
inputs: | |
github_ref: | |
required: true | |
type: string | |
jobs: | |
run-snyk-monitor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Select GitHub ref | |
id: select_github_ref | |
shell: bash | |
run: | | |
workflow_call_github_ref=${{ inputs.github_ref }} | |
echo "selected_github_ref=${workflow_call_github_ref:-${{ github.ref_name }}}" >> "$GITHUB_OUTPUT" | |
- name: Setup Java | |
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4 | |
with: | |
distribution: 'temurin' | |
java-version: | | |
8 | |
11 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
path: mqtt-cli | |
ref: ${{ steps.select_github_ref.outputs.selected_github_ref }} | |
- name: Setup Snyk | |
uses: snyk/actions/setup@master | |
- name: Run Snyk monitor | |
shell: bash | |
run: > | |
snyk monitor --configuration-matching=^runtimeClasspath$ --target-reference=${{ steps.select_github_ref.outputs.selected_github_ref }} --org=hivemq-mqtt-cli | |
--project-name=mqtt-cli --remote-repo-url=mqtt-cli --project-lifecycle=development mqtt-cli -d | |
--project-tags=kanbanize_board_name="\"Tooling++&++Extension,kanbanize_board_workflow_name=Development++Workflow,kanbanize_board_column_name=Selected,kanbanize_board_swimlane=Expedite,kanbanize_board_done_sections=4/5\"" | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |