Merge pull request #5 from bryannaegele/labeler

Labeler
This commit is contained in:
Bryan Naegele 2021-08-29 20:35:39 -06:00 committed by GitHub
commit 6b8d11a666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

27
.github/labeler.yml vendored Normal file
View File

@ -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/**

10
.github/workflows/labeler.yml vendored Normal file
View File

@ -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 }}"