From 8c88eb8182e691d13122f431fc65c42f2b424732 Mon Sep 17 00:00:00 2001 From: Wouter Meek Date: Tue, 28 May 2024 15:35:15 +0200 Subject: [PATCH 1/2] Create main-mend.yml --- .github/workflows/main-mend.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main-mend.yml diff --git a/.github/workflows/main-mend.yml b/.github/workflows/main-mend.yml new file mode 100644 index 000000000..4d32c9686 --- /dev/null +++ b/.github/workflows/main-mend.yml @@ -0,0 +1,19 @@ +name: Mend workflow +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: comcast-runner + steps: + # It will checkout the latest code + - uses: actions/checkout@v3 + - name: Run Whitesource/Mend scan + run: | + java -version + curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar + java -jar wss-unified-agent.jar -apiKey $ -product Thunder -project thunder-github-action-test + From c1413f97fb532137933dad685e5703872135e9d6 Mon Sep 17 00:00:00 2001 From: Wouter Meek Date: Tue, 28 May 2024 17:59:08 +0200 Subject: [PATCH 2/2] Update main-mend.yml --- .github/workflows/main-mend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main-mend.yml b/.github/workflows/main-mend.yml index 4d32c9686..bf5aa8848 100644 --- a/.github/workflows/main-mend.yml +++ b/.github/workflows/main-mend.yml @@ -15,5 +15,5 @@ jobs: run: | java -version curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar - java -jar wss-unified-agent.jar -apiKey $ -product Thunder -project thunder-github-action-test + java -jar wss-unified-agent.jar -apiKey ${{ secrets.MEND_API_KEY }} -product Thunder -project thunder-github-action-test