Files
TrinityCore/.github/workflows/pr-labeler.yml
jackpoz 89cfced1b5 CI/GitHub: Apply branch label to PRs when they are opened
Apply branch label to PRs when they are opened instead of having a cron job that runs every 5 minutes. This uses the "new" github action type "pull_request_target"
2020-12-26 14:02:14 +01:00

15 lines
301 B
YAML

on:
pull_request_target:
types: [opened]
jobs:
pr_labeler:
runs-on: ubuntu-latest
name: Pull Request Labeler
steps:
- name: Pull Request Labeler
id: pr-labeler
uses: TrinityCore/GitHub-Actions@pr-labeler-prod
with:
token: ${{ secrets.GITHUB_TOKEN }}