From fa590a679dcb44cc556da33852d089c2aa73a4e9 Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Sun, 29 Aug 2021 20:33:52 -0600 Subject: [PATCH] Labeler --- .github/labeler.yml | 27 +++++++++++++++++++++++++++ .github/workflows/labeler.yml | 10 ++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..a2bf59e --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,27 @@ +elixir: + - instrumentation/**/*.ex + - instrumentation/**/*.exs + - propagators/**/*.ex + - propagators/**/*.exs + - exporters/**/*.ex + - exporters/**/*.exs + +erlang: + - instrumentation/**/*.erl + - instrumentation/**/*.hrl + - instrumentation/**/rebar.config + - propagators/**/*.erl + - propagators/**/*.hrl + - propagators/**/rebar.config + - exporters/**/*.erl + - exporters/**/*.hrl + - exporters/**/rebar.config + +instrumentation: + - instrumentation/**/* + +propagators: + - propagators/**/* + +scope-ci: + - .github/workflows/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..e013754 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,10 @@ +name: "Pull Request Labeler" +on: [pull_request_target] + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@main + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"