From 8d2ec6edf6e205570c3ec5943e5f794a95c6f0b3 Mon Sep 17 00:00:00 2001 From: Christoph Atteneder Date: Thu, 23 Jan 2020 19:17:30 +0100 Subject: [PATCH] Automatic label asset pull requests --- .github/labeler.yml | 3 +++ .github/workflows/label.yml | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..66b721566b --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +# Add 'in:altcoins' and 'is:no-priority' to any file changes within 'assets' folder +in:altcoins: assets/* +is:no-priority: assets/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000..0ae4453b69 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,12 @@ +name: Pull Request Labeler +on: [pull_request] + +jobs: + label: + + runs-on: ubuntu-latest + + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"