aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-05-17 18:57:51 +0200
committerjackpoz <giacomopoz@gmail.com>2020-05-23 18:15:28 +0200
commitf46c84fd9ea763a3fe962e3bab32e0d4b9d718ff (patch)
tree1872b7baa207a485f62c70aada39e626815f7146 /.github
parentfd66e291b5595635411116b5b0946b476719a2ab (diff)
CI/GitHub: Add action to label issues
(cherry picked from commit ce10a9482af00dd316d9866fd9bed2934c9db191) CI/GitHub: Add action to label pull requests (cherry picked from commit 92a289e45518e6a4c3a34fed6d28f09002e53352) CI/GitHub: Fix github actions syntax (cherry picked from commit 0435ecc8f52490b6d27ca9c9d3b1f6507932c824) CI/GitHub: Rename jobs (cherry picked from commit 58013167ded4db06f0e59c1102f6406fd65e66b5)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/issue-labeler.yml14
-rw-r--r--.github/workflows/pr-labeler.yml14
2 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml
new file mode 100644
index 00000000000..0eaf1c8376b
--- /dev/null
+++ b/.github/workflows/issue-labeler.yml
@@ -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 }} \ No newline at end of file
diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml
new file mode 100644
index 00000000000..3df7dea6e69
--- /dev/null
+++ b/.github/workflows/pr-labeler.yml
@@ -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 }} \ No newline at end of file