chore(ci): remove Sonar #355

Merged
luke merged 11 commits from luke-patch-1 into main 2025-05-31 13:08:48 +02:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 54c1fbfd4b - Show all commits

View File

@ -73,8 +73,8 @@ jobs:
env: env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with: with:
command: snyk command: code test
args: code test --exclude=.archive args: --all-projects --exclude=.archive
- name: Snyk Vulnerability Scan - name: Snyk Vulnerability Scan
uses: snyk/actions/python@master uses: snyk/actions/python@master
@ -82,8 +82,8 @@ jobs:
env: env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with: with:
command: snyk command: test
args: test --all-projects --exclude=.archive args: --all-projects --exclude=.archive
# - name: Trivy Setup # - name: Trivy Setup
# uses: aquasecurity/setup-trivy@v0.2.0 # uses: aquasecurity/setup-trivy@v0.2.0

View File

@ -20,7 +20,7 @@ def __n8n_post(data: dict) -> bool:
headers=headers, headers=headers,
json=data, json=data,
timeout=10, timeout=10,
verify=False, verify=True,
) )
return bool(resp.status_code == 200) return bool(resp.status_code == 200)
@ -61,7 +61,7 @@ def get_tasks(requestor) -> bool:
url=config.n8n_webhook_url, url=config.n8n_webhook_url,
headers=headers, headers=headers,
timeout=10, timeout=10,
verify=False, verify=True,
params={"requestor": requestor}, params={"requestor": requestor},
) )
_data = bool(resp.status_code == 200) _data = bool(resp.status_code == 200)