From: tooomm Date: Sat, 17 Dec 2022 14:28:32 +0000 (+0100) Subject: check repo owner X-Git-Tag: v1.11.0~1^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0fb44db86d1fa1b2d12f27658d4b9a08c4ea136;p=thirdparty%2Fpaperless-ngx.git check repo owner --- diff --git a/.github/workflows/cleanup-tags.yml b/.github/workflows/cleanup-tags.yml index 4a5deeb9ca..6877e55bb3 100644 --- a/.github/workflows/cleanup-tags.yml +++ b/.github/workflows/cleanup-tags.yml @@ -1,7 +1,9 @@ # This workflow runs on certain conditions to check for and potentially # delete container images from the GHCR which no longer have an associated # code branch. -# Requires a PAT with the correct scope set in the secrets +# Requires a PAT with the correct scope set in the secrets. +# +# This workflow will not trigger runs on forked repos. name: Cleanup Image Tags @@ -21,6 +23,7 @@ concurrency: jobs: cleanup-images: name: Cleanup Image Tags for ${{ matrix.primary-name }} + if: github.repository_owner == 'paperless-ngx' runs-on: ubuntu-22.04 strategy: matrix: