feat(scorer): add lora-load-state-scorer reading vLLM adapter residency #3439
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Fails a required check while a hold label is present, so /hold (label `hold`) | |
| # and the release-branch auto-hold (label `do-not-merge/hold`) block | |
| # GitHub-native auto-merge. Re-runs on label changes. | |
| name: Hold gate | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize, labeled, unlabeled] | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| hold: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Block merge while held | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| run: | | |
| blocking_labels=(hold do-not-merge/hold) | |
| # fetch current labels | |
| labels=$(gh pr view "$PR_URL" --json labels -q '.labels[].name') | |
| for label in "${blocking_labels[@]}"; do | |
| if grep -qxF "$label" <<< "$labels"; then | |
| echo "::error::Blocking label '$label' is present. Remove it to allow merge (e.g., /hold cancel for hold)." | |
| exit 1 | |
| fi | |
| done |