mirror of
https://github.com/jellyfin/jellyfin-roku.git
synced 2024-11-23 06:09:41 +00:00
Merge pull request #1852 from cewert/only-run-workflows-once
This commit is contained in:
commit
e64bcdc655
6
.github/workflows/automations.yml
vendored
6
.github/workflows/automations.yml
vendored
@ -10,7 +10,8 @@ on:
|
||||
|
||||
jobs:
|
||||
project:
|
||||
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||
# don't run job on forks and prevent job from running twice when a PR pushes a new commit
|
||||
if: github.repository == 'jellyfin/jellyfin-roku' && github.event_name != 'pull_request' || github.repository == 'jellyfin/jellyfin-roku' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
name: Project board 📊
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -22,7 +23,8 @@ jobs:
|
||||
column: In progress
|
||||
repo-token: ${{ secrets.JF_BOT_TOKEN }}
|
||||
label:
|
||||
if: github.repository == 'jellyfin/jellyfin-roku'
|
||||
# don't run job on forks and prevent job from running twice when a PR pushes a new commit
|
||||
if: github.repository == 'jellyfin/jellyfin-roku' && github.event_name != 'pull_request' || github.repository == 'jellyfin/jellyfin-roku' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
name: Labeling 🏷️
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
2
.github/workflows/build-dev.yml
vendored
2
.github/workflows/build-dev.yml
vendored
@ -6,6 +6,8 @@ on:
|
||||
|
||||
jobs:
|
||||
dev:
|
||||
# prevent job from running twice when a PR pushes a new commit
|
||||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
2
.github/workflows/roku-analysis.yml
vendored
2
.github/workflows/roku-analysis.yml
vendored
@ -8,6 +8,8 @@ env:
|
||||
|
||||
jobs:
|
||||
static:
|
||||
# don't run job on forks and prevent job from running twice when a PR pushes a new commit
|
||||
if: github.repository == 'jellyfin/jellyfin-roku' && github.event_name != 'pull_request' || github.repository == 'jellyfin/jellyfin-roku' && github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
|
||||
|
Loading…
Reference in New Issue
Block a user