mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
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 075dc097a3)
This commit is contained in:
committed by
github-actions[bot]
parent
bc401b0a78
commit
f7518d076e
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user