From 1a3f44f12475b48b2ac54bd29579e41978083a77 Mon Sep 17 00:00:00 2001 From: Johnathan Gilday Date: Wed, 26 Jun 2024 20:11:19 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20Examples=20to=20Use=20v?= =?UTF-8?q?2=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We'll never get rid of v1 if all our examples encourage folks to use v1 instead of v2. --- README.md | 2 +- examples/contrast-pixeebot.yml | 2 +- examples/defectdojo-pixeebot.yml | 2 +- examples/sonarcloud-pixeebot.yml | 2 +- examples/sonarqube-pixeebot-maven.yml | 2 +- examples/sonarqube-python.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fea447e..c1060f7 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ confusing it for the typical _project analysis token_. SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - name: Upload SonarQube Results to Pixeebot - uses: pixee/upload-tool-results-action@v1 + uses: pixee/upload-tool-results-action@v2 if: always() && steps.sonarqube-analysis.outcome == 'success' with: tool: sonar diff --git a/examples/contrast-pixeebot.yml b/examples/contrast-pixeebot.yml index 34ef6e2..934d4df 100644 --- a/examples/contrast-pixeebot.yml +++ b/examples/contrast-pixeebot.yml @@ -12,7 +12,7 @@ jobs: name: Upload Contrast Findings to Pixeebot runs-on: ubuntu-latest steps: - - uses: pixee/upload-tool-results-action@v1 + - uses: pixee/upload-tool-results-action@v2 with: tool: contrast contrast-api-url: ${{ secrets.CONTRAST_API_URL }} diff --git a/examples/defectdojo-pixeebot.yml b/examples/defectdojo-pixeebot.yml index 27da36b..fca36f1 100644 --- a/examples/defectdojo-pixeebot.yml +++ b/examples/defectdojo-pixeebot.yml @@ -12,7 +12,7 @@ jobs: name: Upload DefectDojo Findings to Pixeebot runs-on: ubuntu-latest steps: - - uses: pixee/upload-tool-results-action@v1 + - uses: pixee/upload-tool-results-action@v2 with: tool: defectdojo defectdojo-token: ${{ secrets.DEFECTDOJO_TOKEN }} diff --git a/examples/sonarcloud-pixeebot.yml b/examples/sonarcloud-pixeebot.yml index e4e496a..5651543 100644 --- a/examples/sonarcloud-pixeebot.yml +++ b/examples/sonarcloud-pixeebot.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event.check_run.name == 'SonarCloud Code Analysis' }} steps: - - uses: pixee/upload-tool-results-action@v1 + - uses: pixee/upload-tool-results-action@v2 with: tool: sonar sonar-token: ${{ secrets.SONAR_TOKEN }} diff --git a/examples/sonarqube-pixeebot-maven.yml b/examples/sonarqube-pixeebot-maven.yml index 37826b2..65b3bf4 100644 --- a/examples/sonarqube-pixeebot-maven.yml +++ b/examples/sonarqube-pixeebot-maven.yml @@ -54,7 +54,7 @@ jobs: scanMetadataReportFile: target/sonar/report-task.txt - name: Upload SonarQube Results to Pixeebot - uses: pixee/upload-tool-results-action@v1 + uses: pixee/upload-tool-results-action@v2 if: always() && steps.sonarqube-analysis.outcome == 'success' # run this when the analysis is successful, regardless of the quality gate status with: tool: sonar diff --git a/examples/sonarqube-python.yml b/examples/sonarqube-python.yml index d4a719a..b64ccf9 100644 --- a/examples/sonarqube-python.yml +++ b/examples/sonarqube-python.yml @@ -32,7 +32,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - name: Upload SonarQube Results to Pixeebot - uses: pixee/upload-tool-results-action@v1 + uses: pixee/upload-tool-results-action@v2 if: always() && steps.sonarqube-analysis.outcome == 'success' with: tool: sonar