Buckets:
| name: Convert PR to draft | |
| on: | |
| pull_request_target: | |
| types: [labeled] | |
| cache-mode: none | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| contents: write # required for "gh pr ready" command, see https://github.com/cli/cli/issues/8910 | |
| jobs: | |
| convert-to-draft: | |
| if: github.event.label.name == 'draft' && github.event.pull_request.draft == false | |
| runs-on: ubuntu-slim | |
| steps: | |
| - name: Convert PR to draft | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| run: | | |
| gh pr ready --undo "$PR_URL" | |
| gh pr edit "$PR_URL" --remove-label draft | |
Xet Storage Details
- Size:
- 655 Bytes
- Xet hash:
- 80c0726c8d8bd1da65837a3b2f85c161baa4505bb19368bd4159b3d21f5053f8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.