Skip to content

Commit d38164a

Browse files
pytorchbotatalman
andauthored
Enable Doc builds for: Minor Releases RCs. Minor and Patch Releases final RC (pytorch#167494)
Enable Doc builds for: Minor Releases RCs. Minor and Patch Releases final RC (pytorch#167478) Enable Doc builds for 1. Minor Releases RCs 2. Minor and Patch Releases final RC This is done to prevent publishing doc for patch releases when building rcs. See: pytorch/docs#57 Followup after: pytorch#153973 Pull Request resolved: pytorch#167478 Approved by: https://github.com/svekars, https://github.com/seemethere (cherry picked from commit f633119) Co-authored-by: atalman <[email protected]>
1 parent b002562 commit d38164a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ on:
55
- cron: 0 0 * * *
66
push:
77
tags:
8-
# NOTE: Doc build pipelines should only get triggered on release candidate builds
9-
# Release candidate tags look like: v1.11.0-rc1
10-
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
8+
# NOTE: Doc build pipelines should only get triggered on:
9+
# Major or minor release candidates builds
10+
- v[0-9]+.[0-9]+.0+-rc[0-9]+
11+
# Final RC for major, minor and patch releases
12+
- v[0-9]+.[0-9]+.[0-9]+
1113
- ciflow/nightly/*
1214
workflow_dispatch:
1315

0 commit comments

Comments
 (0)