diff --git a/.github/workflows/nightly-vuln-scanning.yml b/.github/workflows/nightly-vuln-scanning.yml index 81398984..4b3880a5 100644 --- a/.github/workflows/nightly-vuln-scanning.yml +++ b/.github/workflows/nightly-vuln-scanning.yml @@ -32,11 +32,13 @@ jobs: - name: Set variables id: scanner run: echo "results=$(cat vulnerabilities.table)" >> $GITHUB_OUTPUT + if: always() - name: Output variable env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} SCANNER_OUTPUTS: ${{ steps.scanner.outputs.results }} + if: always() run: echo "${{ env.SCANNER_OUTPUTS }}" - name: Create issue if: failure()