Skip to content

FIX: beginner/onnx/onnx_registry_tutorial.py fails against 2.4 RC binaries #1142

FIX: beginner/onnx/onnx_registry_tutorial.py fails against 2.4 RC binaries

FIX: beginner/onnx/onnx_registry_tutorial.py fails against 2.4 RC binaries #1142

name: Docathon Labels Sync
on:
pull_request_target:
types: [opened, synchronize, edited]
jobs:
check-labels:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Check if PR mentions an issue and get labels
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
pip install requests
pip install PyGithub
- name: Run Python script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python ./.github/scripts/docathon-label-sync.py ${{ github.event.pull_request.number }}