Skip to content

Commit

Permalink
Add an issue template to disable CI jobs (pytorch#97045)
Browse files Browse the repository at this point in the history
Per title, I will update the runbook to point to this after the review
Pull Request resolved: pytorch#97045
Approved by: https://github.com/clee2000, https://github.com/ZainRizvi
  • Loading branch information
huydhn authored and pytorchmergebot committed Mar 22, 2023
1 parent 5cc2e4d commit ec54f18
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/ci-sev.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: "⚠️ CI SEV"
about: Tracking incidents for PyTorch's CI infra.
labels: "ci: sev"
---

> NOTE: Remember to label this issue with "`ci: sev`"
Expand Down
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/disable-ci-jobs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Disable CI jobs (PyTorch Dev Infra only)
about: Use this template to disable CI jobs
title: "DISABLED [WORKFLOW_NAME] / [PLATFORM_NAME] / [JOB_NAME]"
labels: "module: ci"
---

> For example, DISABLED pull / win-vs2019-cpu-py3 / test (default). Once
> created, the job will be disabled within 15 minutes. You can check the
> list of disabled jobs at https://ossci-metrics.s3.amazonaws.com/disabled-jobs.json
> If you need to get this out ASAP instead of waiting for 15 minutes,
> you can manually trigger the workflow at https://github.com/pytorch/test-infra/actions/workflows/update_disabled_tests.yml
> once the issue is created to update the above JSON list right away.
> Noted: you need to have write access to PyTorch repo to disable CI
> jobs. The issue will be rejected otherwise.
## Reason
*Provide a reason why this is needed and when this can be resolved*.

0 comments on commit ec54f18

Please sign in to comment.