allow for self-hosted tests
This commit is contained in:
parent
cee5e87ae3
commit
6b780077a1
2 changed files with 3 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue