Files
TrinityCore/.github/workflows/pr-labeler.yml
jackpoz e8b78acbee 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"

(cherry picked from commit 89cfced1b5)

# Conflicts:
#	.github/workflows/pr-labeler.yml
2020-12-26 14:04:20 +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 }}