fix(ci): fix constantly failing CI #450

Merged
luke merged 27 commits from fix-cicd into main 2025-01-02 18:05:16 +01:00
Showing only changes of commit 7070344fe5 - Show all commits

View File

@ -52,18 +52,18 @@ jobs:
env: env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Snyk Vulnerability Scan
continue-on-error: true # Sometimes vulns aren't immediately fixable
run: |
echo ${{ github.workspace }}
docker run --rm -v "${{ gitea.workspace }}:/app" -e "SNYK_TOKEN=${{ secrets.SNYK_TOKEN }}" snyk/snyk:python snyk test --all-projects --json
# - name: Snyk Vulnerability Scan # - name: Snyk Vulnerability Scan
# uses: snyk/actions/python-3.10@master
# continue-on-error: true # Sometimes vulns aren't immediately fixable # continue-on-error: true # Sometimes vulns aren't immediately fixable
# env: # run: |
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} # echo ${{ github.workspace }}
# with: # docker run --rm -v "${{ gitea.workspace }}:/app" -e "SNYK_TOKEN=${{ secrets.SNYK_TOKEN }}" snyk/snyk:python snyk test --all-projects --json
# command: test
- name: Snyk Vulnerability Scan
uses: snyk/actions/python@master
continue-on-error: true # Sometimes vulns aren't immediately fixable
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: snyk test --all-projects --json
# args: --all-projects # args: --all-projects
# json: true # json: true