mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
CI/GitHub: Add action to label issues
(cherry picked from commitce10a9482a) CI/GitHub: Add action to label pull requests (cherry picked from commit92a289e455) CI/GitHub: Fix github actions syntax (cherry picked from commit0435ecc8f5) CI/GitHub: Rename jobs (cherry picked from commit58013167de)
This commit is contained in:
14
.github/workflows/issue-labeler.yml
vendored
Normal file
14
.github/workflows/issue-labeler.yml
vendored
Normal 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
14
.github/workflows/pr-labeler.yml
vendored
Normal 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 }}
|
||||
Reference in New Issue
Block a user