From f46c84fd9ea763a3fe962e3bab32e0d4b9d718ff Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 17 May 2020 18:57:51 +0200 Subject: 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) --- .github/workflows/issue-labeler.yml | 14 ++++++++++++++ .github/workflows/pr-labeler.yml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/issue-labeler.yml create mode 100644 .github/workflows/pr-labeler.yml (limited to '.github/workflows') 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 -- cgit v1.2.3