Buckets:
xuan-luo/kvpath-optimization / KDA-optimization /env /third_party /Megatron-LM /.github /workflows /force-draft-pr.yml
| # Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |
| name: Force Draft PR | |
| on: | |
| pull_request_target: | |
| types: [opened] | |
| branches: | |
| - main | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| force-draft: | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.draft && github.repository == 'NVIDIA/Megatron-LM' }} | |
| steps: | |
| - name: Convert PR to draft | |
| env: | |
| GH_TOKEN: ${{ secrets.PAT }} | |
| run: | | |
| gh pr ready --undo ${{ github.event.pull_request.number }} --repo ${{ github.repository }} | |
| - name: Add comment explaining draft policy | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: | | |
| gh pr comment ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --body \ | |
| "This PR has been automatically converted to **draft** because all PRs must start as drafts. | |
| When you are ready for review, click **Ready for Review** to begin the review process. This will: | |
| 1. Add the oncall reviewer (optional reviewer) | |
| 2. Add required review teams based on your changes | |
| See the [contribution guide](https://github.com/NVIDIA/Megatron-LM/blob/main/docs/developer/submit.md) for more details." | |
Xet Storage Details
- Size:
- 1.25 kB
- Xet hash:
- 5604e6105b870fd86d01ccead6ada1d3b69caaf8116e998749d5bcd73e9acbd4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.