From 2562d3826e2cc72cd0d3aa2d5252f1fa3189cdff Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Tue, 23 May 2023 20:24:40 +0200 Subject: [PATCH] only build releases in a forgejo-integration organization --- .forgejo/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 09580ce..46adbd5 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -7,6 +7,8 @@ on: jobs: release: runs-on: self-hosted + # root is used for testing, allow it + if: github.repository_owner == 'forgejo-integration' || github.repository_owner == 'root' steps: - uses: actions/checkout@v3