summaryrefslogtreecommitdiff
path: root/.forgejo
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2024-04-28 08:18:23 -0600
committercrystal <crystal@noreply.codeberg.org>2024-04-28 08:18:23 -0600
commit6b780077a15230a5bc46fa12e0e47f0b239a315c (patch)
tree8ce30cf5ae39dfe412344a57c916d1e5f2d2130e /.forgejo
parentcee5e87ae316c1f3a899e1e4c1e5150db96d8eb3 (diff)
allow for self-hosted tests
Diffstat (limited to '.forgejo')
-rw-r--r--.forgejo/workflows/forgejo-deb.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.forgejo/workflows/forgejo-deb.yml b/.forgejo/workflows/forgejo-deb.yml
index 796677a..1c66728 100644
--- a/.forgejo/workflows/forgejo-deb.yml
+++ b/.forgejo/workflows/forgejo-deb.yml
@@ -2,7 +2,7 @@ on: [push, pull_request]
jobs:
mirror:
runs-on: bookworm
- if: github.event_name == 'push'
+ if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb'
steps:
- uses: actions/checkout@v4
with:
@@ -193,7 +193,7 @@ jobs:
publish-release-repo:
runs-on: bookworm
- if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
+ if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') && github.repository == 'forgejo-contrib/forgejo-deb'
steps:
- uses: actions/checkout@v4