From f7518d076e9a37fee54da6b358215360f880baa0 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Tue, 17 Jun 2025 09:48:54 +0200 Subject: [PATCH] workflows/labels: disable scheduled runs in forks This can still be manually dispatched for testing in forks, but it's entirely useless to keep running it on schedule. Also removing the "skip treewide" condition, which was a left-over and removed everywhere else already. We don't want to skip any jobs, especially not when considering required status checks. (cherry picked from commit 075dc097a304a943e281e7c7f8446cfb7bdd067d) --- .github/workflows/labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 37eb51abdecd..23a65afc5ac7 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -36,7 +36,7 @@ jobs: labels: name: label-pr runs-on: ubuntu-24.04-arm - if: "!contains(github.event.pull_request.title, '[skip treewide]')" + if: github.event_name != 'schedule' || github.repository_owner == 'NixOS' steps: - name: Install dependencies run: npm install @actions/artifact