Skip to content

Commit 8f4bd99

Browse files
authored
Update docathon-assign.yml
1 parent 98221cc commit 8f4bd99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/docathon-assign.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
repo: context.repo.repo,
2727
issue_number: issueNumber
2828
});
29-
const hasLabel = issue.labels.some(label => label.name === 'docathon-h2-2023');
29+
const hasLabel = issue.labels.some(label => label.name === 'docathon-h1-2024');
3030
if (hasLabel) {
3131
if (issue.assignee !== null) {
3232
await github.rest.issues.createComment({
3333
owner: context.repo.owner,
3434
repo: context.repo.repo,
3535
issue_number: issueNumber,
36-
body: "The issue is already assigned. Please pick an opened and unnasigned issue with the [docathon-h2-2023 label](https://github.com/pytorch/pytorch/issues?q=is%3Aopen+is%3Aissue+label%3Adocathon-h2-2023)."
36+
body: "The issue is already assigned. Please pick an opened and unnasigned issue with the [docathon-h1-2024 label](https://github.com/pytorch/pytorch/issues?q=is%3Aopen+is%3Aissue+label%3Adocathon-h1-2024)."
3737
});
3838
} else {
3939
await github.rest.issues.addAssignees({
@@ -44,7 +44,7 @@ jobs:
4444
});
4545
}
4646
} else {
47-
const commmentMessage = "This issue does not have the correct label. Please pick an opened and unnasigned issue with the [docathon-h2-2023 label](https://github.com/pytorch/pytorch/issues?q=is%3Aopen+is%3Aissue+label%3Adocathon-h2-2023)."
47+
const commmentMessage = "This issue does not have the correct label. Please pick an opened and unnasigned issue with the [docathon-h1-2024 label](https://github.com/pytorch/pytorch/issues?q=is%3Aopen+is%3Aissue+label%3Adocathon-h1-2024)."
4848
await github.rest.issues.createComment({
4949
owner: context.repo.owner,
5050
repo: context.repo.repo,

0 commit comments

Comments
 (0)