change to not run certain workflows in forks

This commit is contained in:
h1dden-da3m0n 2021-03-18 22:42:27 +01:00
parent 54caffef82
commit 6d2491efb5
3 changed files with 5 additions and 0 deletions

View File

@ -16,6 +16,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository == 'jellyfin/jellyfin-plugin-kitsu'
strategy:
fail-fast: false

View File

@ -7,6 +7,8 @@ on:
jobs:
publish_release_draft:
runs-on: ubuntu-latest
if: github.repository == 'jellyfin/jellyfin-plugin-kitsu'
steps:
- name: Get version from GITHUB_REF
id: get-version

View File

@ -9,6 +9,8 @@ on:
jobs:
update_release_draft:
runs-on: ubuntu-latest
if: github.repository == 'jellyfin/jellyfin-plugin-kitsu'
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5.15.0