mirror of
https://github.com/tokio-rs/tracing.git
synced 2026-03-19 06:12:30 +00:00
chore: add PR labeler action (#268)
The `tokio` org is now part of the github actions beta. This branch dips our feet in the metaphorical water by setting up a simple action that adds crate labels to PRs. * chore: add PR labeler action * add PR labeler config Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
7
.github/labeler.yml
vendored
Normal file
7
.github/labeler.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
crate/tracing: tracing/**
|
||||
crate/core: tracing-core/**
|
||||
crate/proc-macros: tracing-attributes/**
|
||||
crate/fmt: tracing-fmt/**
|
||||
crate/futures: tracing-futures/**
|
||||
crate/log: tracing-log/**
|
||||
crate/subscriber: tracing-subscriber/**
|
||||
12
.github/workflows/label.yml
vendored
Normal file
12
.github/workflows/label.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: Labeler
|
||||
on: [pull-request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
Reference in New Issue
Block a user