Skip to content

python: reclassify base uv interpreters as Global #18326

python: reclassify base uv interpreters as Global

python: reclassify base uv interpreters as Global #18326

name: "PR: Comment"
on:
pull_request:
types:
- opened
- synchronize
- edited
jobs:
e2e-tags:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.state != 'closed' }} # Skip job if PR is closed
steps:
- uses: actions/checkout@v7
# Install just enough for derive-test-change-tags.mjs's
# `playwright test --list` call, so the comment reflects e2e test-change
# tags. Gated to PRs that touch e2e test files. Shared with the pr-tags
# job in test-pull-request.yml so the two derivation environments match.
- name: Set up e2e tag listing
uses: ./.github/actions/e2e-tag-listing-setup
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-repository: ${{ github.repository }}
pull-request-number: ${{ github.event.pull_request.number }}
- name: Parse Tags from PR Body
id: pr-tags
run: bash scripts/pr-tags-parse.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_EVENT_PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
- name: Update PR Comment with Tags
run: bash ./scripts/pr-e2e-comment.sh "<!-- PR Tags -->" "${{ env.tags }}" "${{ steps.pr-tags.outputs.no_matches }}" "${{ steps.pr-tags.outputs.unmapped_dirs }}" "${{ steps.pr-tags.outputs.invalid_tags }}" "${{ steps.pr-tags.outputs.tag_reasons }}"
env:
tags: ${{ steps.pr-tags.outputs.tags }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_EVENT_PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}