Compare commits

...

1 Commits

Author SHA1 Message Date
d38164a545 Enable Doc builds for: Minor Releases RCs. Minor and Patch Releases final RC (#167494)
Enable Doc builds for: Minor Releases RCs. Minor and Patch Releases final RC (#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:
https://github.com/pytorch/docs/pull/57

Followup after: https://github.com/pytorch/pytorch/pull/153973
Pull Request resolved: https://github.com/pytorch/pytorch/pull/167478
Approved by: https://github.com/svekars, https://github.com/seemethere

(cherry picked from commit f6331192b4b105bb8a20823dc02e33b55e5c91e2)

Co-authored-by: atalman <atalman@fb.com>
2025-11-10 20:02:50 -05:00

View File

@ -5,9 +5,11 @@ on:
- cron: 0 0 * * *
push:
tags:
# NOTE: Doc build pipelines should only get triggered on release candidate builds
# Release candidate tags look like: v1.11.0-rc1
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
# NOTE: Doc build pipelines should only get triggered on:
# Major or minor release candidates builds
- v[0-9]+.[0-9]+.0+-rc[0-9]+
# Final RC for major, minor and patch releases
- v[0-9]+.[0-9]+.[0-9]+
- ciflow/nightly/*
workflow_dispatch: