aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorh1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>2021-06-20 19:42:52 +0200
committerh1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>2021-06-20 19:42:52 +0200
commit44b54a2637fb4516cdaf8d49172586919e495238 (patch)
tree329a678e5daa1edae1145e936abd94a8118f557d /.github
parent0c3dcdf77b0d124517bffa608bfddf7d8f7682db (diff)
disable project automation in forks
these workflows always fail in forks due to missing tokens etc.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/automation.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml
index 8da2349c8..38415f1c6 100644
--- a/.github/workflows/automation.yml
+++ b/.github/workflows/automation.yml
@@ -11,6 +11,7 @@ jobs:
label:
name: Labeling
runs-on: ubuntu-latest
+ if: ${{ github.repository == 'jellyfin/jellyfin' }}
steps:
- name: Apply label
uses: eps1lon/actions-label-merge-conflict@v2.0.1
@@ -22,6 +23,7 @@ jobs:
project:
name: Project board
runs-on: ubuntu-latest
+ if: ${{ github.repository == 'jellyfin/jellyfin' }}
steps:
- name: Remove from 'Current Release' project
uses: alex-page/github-project-automation-plus@v0.7.1