fix(ci): fix Snyk docker
Some checks failed
Validate PR Title / validate (pull_request) Successful in 6s
CI / ci (pull_request) Failing after 52s

This commit is contained in:
2025-05-31 11:21:19 +01:00
parent aa71f71bfb
commit 54c1fbfd4b
2 changed files with 6 additions and 6 deletions

View File

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

View File

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