[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:
Ivan Gabaldon
2025-05-25 14:54:27 +02:00
committed by GitHub
parent 848c8d0544
commit 14b8a999f3
3 changed files with 14 additions and 8 deletions

View File

@@ -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"