Ignore CI/release action if in a fork

This commit is contained in:
Matias Griese
2021-09-23 15:48:51 +03:00
parent 35e6459d71
commit cda197b5a8
2 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -2,11 +2,12 @@ name: Release Builds
on:
release:
ignore-forks: true
types: [published]
jobs:
build:
if: "!github.event.release.prerelease"
if: "github.repository == 'gantry/gantry5' && !github.event.release.prerelease'
runs-on: ubuntu-latest
timeout-minutes: 10
steps: