don't run certain workflows on forks
This commit is contained in:
parent
dded75f307
commit
9ab431a30d
1
.github/workflows/auto-close-stale-pr.yml
vendored
1
.github/workflows/auto-close-stale-pr.yml
vendored
|
@ -5,6 +5,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
2
.github/workflows/automations.yml
vendored
2
.github/workflows/automations.yml
vendored
|
@ -12,6 +12,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
project:
|
project:
|
||||||
|
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||||
name: Project board 📊
|
name: Project board 📊
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
@ -23,6 +24,7 @@ jobs:
|
||||||
column: In progress
|
column: In progress
|
||||||
repo-token: ${{ secrets.JF_BOT_TOKEN }}
|
repo-token: ${{ secrets.JF_BOT_TOKEN }}
|
||||||
label:
|
label:
|
||||||
|
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||||
name: Labeling 🏷️
|
name: Labeling 🏷️
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
3
.github/workflows/build-docs.yml
vendored
3
.github/workflows/build-docs.yml
vendored
|
@ -7,12 +7,11 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
|
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
|
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||||
with:
|
with:
|
||||||
|
|
1
.github/workflows/deploy-api-docs.yml
vendored
1
.github/workflows/deploy-api-docs.yml
vendored
|
@ -23,6 +23,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user