Skip to content

add PR-size-label tools #2

add PR-size-label tools

add PR-size-label tools #2

Workflow file for this run

name: Label PR size
on:
pull_request:
types: [opened, synchronize]
jobs:
label_pr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Dependencies
run: pip install PyGithub
- name: Run Script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
run: python .github/workflows/size_label.py