mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-26 09:07:43 +01:00
18 lines
410 B
YAML
18 lines
410 B
YAML
|
name: PR Labeler
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
types: [opened]
|
||
|
|
||
|
jobs:
|
||
|
pre-commit-ci:
|
||
|
permissions:
|
||
|
contents: read # for srvaroa/labeler to read config file
|
||
|
pull-requests: write # for srvaroa/labeler to add labels in PR
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: srvaroa/labeler@v1.5.0
|
||
|
# Config file at .github/labeler.yml
|
||
|
env:
|
||
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|