From 8e61a2913726716d9802a5c19d47b0d9d2b0cfa8 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 13 Oct 2024 08:42:28 -0700 Subject: [PATCH] Chore: dont run repo maintenance in forks --- .github/workflows/repo-maintenance.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/repo-maintenance.yml b/.github/workflows/repo-maintenance.yml index c9c134242..9310f9311 100644 --- a/.github/workflows/repo-maintenance.yml +++ b/.github/workflows/repo-maintenance.yml @@ -16,6 +16,7 @@ concurrency: jobs: stale: name: 'Stale' + if: github.repository_owner == 'paperless-ngx' runs-on: ubuntu-latest steps: - uses: actions/stale@v9 @@ -31,6 +32,7 @@ jobs: for your contributions. See our [contributing guidelines](https://github.com/paperless-ngx/paperless-ngx/blob/dev/CONTRIBUTING.md#automatic-repository-maintenance) for more details. lock-threads: name: 'Lock Old Threads' + if: github.repository_owner == 'paperless-ngx' runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v5 @@ -56,6 +58,7 @@ jobs: See our [contributing guidelines](https://github.com/paperless-ngx/paperless-ngx/blob/dev/CONTRIBUTING.md#automatic-repository-maintenance) for more details. close-answered-discussions: name: 'Close Answered Discussions' + if: github.repository_owner == 'paperless-ngx' runs-on: ubuntu-latest steps: - uses: actions/github-script@v7 @@ -112,6 +115,7 @@ jobs: } close-outdated-discussions: name: 'Close Outdated Discussions' + if: github.repository_owner == 'paperless-ngx' runs-on: ubuntu-latest steps: - uses: actions/github-script@v7 @@ -203,6 +207,7 @@ jobs: } close-unsupported-feature-requests: name: 'Close Unsupported Feature Requests' + if: github.repository_owner == 'paperless-ngx' runs-on: ubuntu-latest steps: - uses: actions/github-script@v7