mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
17 lines
454 B
YAML
17 lines
454 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@fe4b1c73bb8abf2f14a44a6912a8b4fee835d631 # v1.12.0
|
|
# Config file at .github/labeler.yml
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|