Add GPU tests with vLLM runtime and Qwen model deployment for Guardrails #10957
Workflow file for this run
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
| name: PR Add Remove Labels Based on user input | |
| on: | |
| pull_request_target: | |
| types: [synchronize] | |
| issue_comment: | |
| types: [created, edited, deleted] | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| issues: write | |
| jobs: | |
| add-remove-labels-reactions: | |
| if: | | |
| contains(github.event.comment.body, '/wip') || | |
| contains(github.event.comment.body, '/verified') || | |
| contains(github.event.comment.body, '/lgtm') || | |
| contains(github.event.comment.body, '/hold') || | |
| contains(github.event.comment.body, '/cherry-pick') || | |
| contains(github.event.comment.body, '/build-push-pr-image') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Acknowledge the request with thumbs up reaction | |
| if: ${{ github.event.comment }} | |
| uses: peter-evans/create-or-update-comment@v5 | |
| with: | |
| comment-id: ${{ github.event.comment.id }} | |
| reactions: '+1' | |
| add-remove-labels: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Run add remove labels | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.RHODS_CI_BOT_PAT }} | |
| GITHUB_PR_NUMBER: "${{ github.event.pull_request.number || github.event.issue.number }}" | |
| GITHUB_EVENT_ACTION: ${{ github.event.action }} | |
| GITHUB_EVENT_REVIEW_STATE: ${{ github.event.review.state }} | |
| GITHUB_EVENT_NAME: ${{ github.event_name }} | |
| COMMENT_BODY: ${{ github.event.comment.body }} | |
| REVIEW_COMMENT_BODY: ${{ github.event.review.body }} | |
| GITHUB_USER_LOGIN: ${{ github.event.sender.login }} | |
| ACTION: "add-remove-labels" | |
| run: uv run python .github/workflows/scripts/pr_workflow.py |