don't run certain workflows on forks

This commit is contained in:
Charles Ewert 2023-10-30 19:25:08 -04:00
parent dded75f307
commit 9ab431a30d
4 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,7 @@ on:
jobs:
stale:
if: github.repository == 'jellyfin/jellyfin-roku'
runs-on: ubuntu-latest
permissions:
pull-requests: write

View File

@ -12,6 +12,7 @@ on:
jobs:
project:
if: github.repository == 'jellyfin/jellyfin-roku'
name: Project board 📊
runs-on: ubuntu-latest
steps:
@ -23,6 +24,7 @@ jobs:
column: In progress
repo-token: ${{ secrets.JF_BOT_TOKEN }}
label:
if: github.repository == 'jellyfin/jellyfin-roku'
name: Labeling 🏷️
runs-on: ubuntu-latest
steps:

View File

@ -7,12 +7,11 @@ on:
jobs:
docs:
if: github.repository == 'jellyfin/jellyfin-roku'
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:

View File

@ -23,6 +23,7 @@ concurrency:
jobs:
deploy:
if: github.repository == 'jellyfin/jellyfin-roku'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}