chore(ci): remove Sonar #355
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user