Skip to content

Commit e04a40a

Browse files
authored
Update trigger_nightly.yml to add torchtitan (#6924)
Add torchtitan to the nightly build trigger so that every night, `main` is cut into a `nightly` branch, which can then be built and released on the PyTorch Index. Pre-reqs: @tianyu-l has already added the pytorch-bot to the torchtitan repo and given it write permissions.
1 parent 6ba4b7d commit e04a40a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/trigger_nightly.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
- torchtune
2424
- torchcodec
2525
- torchvision-extra-decoders
26+
- torchtitan
2627
- all
2728
jobs:
2829
trigger:
@@ -119,3 +120,11 @@ jobs:
119120
repository: pytorch-labs/torchvision-extra-decoders
120121
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
121122
path: torchvision-extra-decoders
123+
- name: Trigger nightly torchtitan
124+
if: ${{ github.event_name == 'schedule' || inputs.domain == 'torchtitan' || inputs.domain == 'all' }}
125+
uses: ./.github/actions/trigger-nightly
126+
with:
127+
ref: main
128+
repository: pytorch/torchtitan
129+
token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
130+
path: torchtitan

0 commit comments

Comments
 (0)