Skip to content

Revert "[GHA] Remove GPU from mandatory again on release" #54190

Revert "[GHA] Remove GPU from mandatory again on release"

Revert "[GHA] Remove GPU from mandatory again on release" #54190

Workflow file for this run

name: "Pull Request Labeler"
on:
- pull_request_target
permissions: read-all
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: akladiev/labeler@eeac5941e7fb6f980d47e038ac0665168851c874 # v4.3.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: '.github/labeler.yml'
sync-labels: 'true'
dot: 'true'
non-matching-label: 'no-match-files'
external_pr_labeller:
name: Label External PR
runs-on: ubuntu-latest
steps:
- name: Checkout Labeller Script
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
sparse-checkout: '.github'
- name: Install deps
run: pip3 install PyGithub==2.2.0
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Label External PR
env:
GITHUB_TOKEN: "${{ secrets.EXTERNAL_LABELLER_TOKEN }}"
run: |
python3 ${{ github.workspace }}/.github/scripts/external_pr_labeller.py \
--repository-name ${GITHUB_REPOSITORY} --pr-number ${{ github.event.number }}