summaryrefslogtreecommitdiff
path: root/.github/workflows/security.yml
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-05-25 14:54:27 +0200
committerGitHub <noreply@github.com>2025-05-25 14:54:27 +0200
commit14b8a999f3929975756ed6f9dc33c54977b5cedc (patch)
tree48eb9c69a8d1436ef1f84ff20d01f3386fe7187d /.github/workflows/security.yml
parent848c8d0544eb0138da4414a750f79b22883f91b2 (diff)
[mod] ci: exclude some workflows from forks (#4849)
Excludes some workflows/jobs unneeded on forks. Closes https://github.com/searxng/searxng/issues/4847
Diffstat (limited to '.github/workflows/security.yml')
-rw-r--r--.github/workflows/security.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml
index e994306b8..73a5fd77f 100644
--- a/.github/workflows/security.yml
+++ b/.github/workflows/security.yml
@@ -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"