From 08e4c9856e4bb483cabd361427338df869709083 Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sun, 26 Jan 2020 13:20:18 +1000 Subject: [PATCH] Added labeler workflow --- .github/labeler.yml | 9 +++++++++ .github/workflows/label.yml | 10 ++++++++++ 2 files changed, 19 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 0000000..5eb9eae --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,9 @@ +documentation: + - "**/*.md" + +tests: + - "**/*_test.go" + +dependencies: + - g0.mod + - go.sum diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000..f204eee --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,10 @@ +name: Labeler +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"