Skip to content

Commit e650c7f

Browse files
committed
small fixes
1 parent 6334c31 commit e650c7f

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/pin-bump-ci-handler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
owner, repo, issue_number: prNumber, per_page: 100
5151
});
5252
const fixAttempts = comments.data.filter(
53-
c => c.body && c.body.includes('[ci-fix-attempt')
53+
c => c.body && c.body.startsWith('@claude [ci-fix-attempt')
5454
).length;
5555
5656
if (conclusion === 'success') {

.github/workflows/weekly-pytorch-pin-bump.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ jobs:
7272
fi
7373
7474
NIGHTLY="${{ steps.nightly.outputs.version }}"
75-
PR_BODY="## Summary
75+
read -r -d '' PR_BODY <<EOF || true
76+
## Summary
7677
7778
Automated weekly PyTorch pin bump.
7879
@@ -82,7 +83,9 @@ jobs:
8283
8384
This PR was created automatically. If CI fails, Claude will attempt to fix issues (up to 3 attempts). If CI still fails, human review will be requested.
8485
85-
cc @jakeszwe"
86+
cc @jakeszwe
87+
EOF
88+
PR_BODY=$(echo "${PR_BODY}" | sed 's/^ //')
8689
8790
gh pr create \
8891
--title "Bump PyTorch pin to nightly ${NIGHTLY}" \

0 commit comments

Comments
 (0)