From 718a7fde7426ea0ba35b83ace97d22376cb2562a Mon Sep 17 00:00:00 2001 From: Whitney Tsang Date: Tue, 10 Dec 2024 19:25:02 -0500 Subject: [PATCH] Automatically trigger `nightly-wheels.yml` when `pytorch-upstream.txt` is modified (#2984) Signed-off-by: Whitney Tsang --- .github/workflows/nightly-wheels.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nightly-wheels.yml b/.github/workflows/nightly-wheels.yml index 832fafce79..74b9e72a89 100644 --- a/.github/workflows/nightly-wheels.yml +++ b/.github/workflows/nightly-wheels.yml @@ -4,6 +4,12 @@ on: workflow_dispatch: schedule: - cron: "5 23 * * *" + push: + branches: + - main + paths: + - .github/workflows/nightly-wheels.yml + - .github/pins/pytorch-upstream.txt permissions: read-all