8000 test hash update · pytorch/pytorch@3f52164 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f52164

Browse files
committed
test hash update
1 parent eff28d6 commit 3f52164

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/scripts/update_commit_hashes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def main() -> None:
136136
)
137137
with open(f".github/ci_commit_pins/{args.repo_name}.txt", "r+") as f:
138138
old_hash = f.read().strip()
139+
subprocess.run(f"git checkout {old_hash}", cwd=args.repo_name)
139140
f.seek(0)
140141
f.truncate()
141142
f.write(f"{hash}\n")

.github/workflows/update-commit-hashes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
88
- cron: 37 7 * * *
99
workflow_dispatch:
10+
pull_request:
1011

1112
jobs:
1213
update-xla-commit-hash:

0 commit comments

Comments
 (0)
0