diff --git a/.github/workflows/poetry-build.yml b/.github/workflows/poetry-build.yml index 2647c0e..28a0963 100644 --- a/.github/workflows/poetry-build.yml +++ b/.github/workflows/poetry-build.yml @@ -27,7 +27,7 @@ jobs: - name: 🧪 Run tests run: poetry run tox - name: SonarCloud scan for PR - uses: sonarsource/sonarqube-scan-action@13990a695682794b53148ff9f6a8b6e22e43955e # v3.1.0 + uses: sonarsource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1 if: github.event_name == 'pull_request' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information @@ -38,7 +38,7 @@ jobs: -Dsonar.pullrequest.branch=${{ github.head_ref }} -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} - name: SonarCloud scan for Push - uses: sonarsource/sonarqube-scan-action@13990a695682794b53148ff9f6a8b6e22e43955e # v3.1.0 + uses: sonarsource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1 if: github.event_name == 'push' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information