mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-15 21:00:47 +00:00
automate the pr approval and merging of hash pinning also switch to a python script for easier control flow Pull Request resolved: https://github.com/pytorch/pytorch/pull/79470 Approved by: https://github.com/seemethere
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
name: update-commit-hashes
|
|
|
|
on:
|
|
schedule:
|
|
# Every day at 12:37am
|
|
# Choose a random time near midnight because it may be delayed if there are high loads
|
|
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
|
|
- cron: 37 0 * * *
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-xla-commit-hash:
|
|
uses: ./.github/workflows/_update-commit-hash.yml
|
|
with:
|
|
repo-name: xla
|
|
branch: master
|
|
secrets:
|
|
MERGEBOT_TOKEN: ${{ secrets.MERGEBOT_TOKEN }}
|
|
PYTORCHBOT_TOKEN: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
|
|
|
|
update-torchdynamo-commit-hash:
|
|
uses: ./.github/workflows/_update-commit-hash.yml
|
|
with:
|
|
repo-name: torchdynamo
|
|
branch: main
|
|
secrets:
|
|
MERGEBOT_TOKEN: ${{ secrets.MERGEBOT_TOKEN }}
|
|
PYTORCHBOT_TOKEN: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
|
|
|
|
update-vision-commit-hash:
|
|
uses: ./.github/workflows/_update-commit-hash.yml
|
|
with:
|
|
repo-name: vision
|
|
branch: main
|
|
secrets:
|
|
MERGEBOT_TOKEN: ${{ secrets.MERGEBOT_TOKEN }}
|
|
PYTORCHBOT_TOKEN: ${{ secrets.GH_PYTORCHBOT_TOKEN }}
|