mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00:00
[mod] ci: exclude some workflows from forks (#4849)
Excludes some workflows/jobs unneeded on forks. Closes https://github.com/searxng/searxng/issues/4847
This commit is contained in:
3
.github/workflows/security.yml
vendored
3
.github/workflows/security.yml
vendored
@@ -16,6 +16,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
container:
|
||||
if: github.repository_owner == 'searxng'
|
||||
name: Container
|
||||
runs-on: ubuntu-24.04-arm
|
||||
permissions:
|
||||
@@ -30,7 +31,7 @@ jobs:
|
||||
- name: Run Trivy scanner
|
||||
uses: aquasecurity/trivy-action@0.30.0
|
||||
with:
|
||||
image-ref: "docker.io/searxng/searxng:latest"
|
||||
image-ref: "ghcr.io/searxng/searxng:latest"
|
||||
vuln-type: "os,library"
|
||||
severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
|
||||
ignore-unfixed: "false"
|
||||
|
||||
Reference in New Issue
Block a user