CI/GitHub: Add action to label issues

(cherry picked from commit ce10a9482a)

CI/GitHub: Add action to label pull requests

(cherry picked from commit 92a289e455)

CI/GitHub: Fix github actions syntax

(cherry picked from commit 0435ecc8f5)

CI/GitHub: Rename jobs

(cherry picked from commit 58013167de)
This commit is contained in:
jackpoz
2020-05-17 18:57:51 +02:00
parent fd66e291b5
commit f46c84fd9e
2 changed files with 28 additions and 0 deletions

14
.github/workflows/issue-labeler.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
on:
issues:
types: [opened]
jobs:
issue_labeler:
runs-on: ubuntu-latest
name: Issue Labeler
steps:
- name: Issue Labeler
id: issue-labeler
uses: TrinityCore/GitHub-Actions@issue-labeler-prod
with:
token: ${{ secrets.GITHUB_TOKEN }}

14
.github/workflows/pr-labeler.yml vendored Normal file
View File

@@ -0,0 +1,14 @@
on:
pull_request:
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 }}