summaryrefslogtreecommitdiff
path: root/.github/workflows/cleanup.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/cleanup.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/cleanup.yml')
-rw-r--r--.github/workflows/cleanup.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
index 85e22ce9d..d6af8feee 100644
--- a/.github/workflows/cleanup.yml
+++ b/.github/workflows/cleanup.yml
@@ -16,6 +16,8 @@ permissions:
jobs:
container-cache:
+ # FIXME: On forks it fails with "Failed to fetch packages: missing field `id` at line 1 column 141"
+ if: github.repository_owner == 'searxng' || github.event_name == 'workflow_dispatch'
name: Container cache
runs-on: ubuntu-24.04
permissions: