Skip to content

labeler: switch to using git diff for labeling #2667

labeler: switch to using git diff for labeling

labeler: switch to using git diff for labeling #2667

Workflow file for this run

name: labeler
on:
pull_request:
types: ['opened', 'ready_for_review', 'reopened', 'synchronize']
jobs:
labeler:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
name: Label the PR size
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run labeler script
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
run: ./devtools/scripts/github-set-pr-label.sh