Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO-2166 Support PR Labeling #1309

Merged
merged 3 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
"C:cmd/lavad":
- cmd/lavad/**/*
"C:cmd/lavap":
- cmd/lavap/**/*
"C:cmd/lavavisor":
- cmd/lavavisor/**/*
"C:cmd/common":
- cmd/common/**/*
"C:protocol":
- protocol/**/*
"Team:Consensus":
- x/**/*
- app/**/*
"Team:Protocol":
- protocol/**/*
- ecosystem/**/*
"C:x/conflict":
- x/conflict/**/*
"C:x/downtime":
- x/downtime/**/*
"C:x/dualstaking":
- x/dualstaking/**/*
"C:x/epochstorage":
- x/epochstorage/**/*
"C:x/fixationstore":
- x/fixationstore/**/*
"C:x/pairing":
- x/pairing/**/*
"C:x/plans":
- x/plans/**/*
"C:x/projects":
- x/projects/**/*
"C:x/protocol":
- x/protocol/**/*
"C:x/rewards":
- x/rewards/**/*
"C:x/spec":
- x/spec/**/*
"C:x/subscription":
- x/subscription/**/*
"C:x/timerstore":
- x/timerstore/**/*
"Type: Build":
- Makefile
- Dockerfile
- docker-compose.yml
- scripts/*
"Type: CI":
- .github/**
"Type: Docs":
- docs/**/*
"Type: Proto":
- proto/**/*
19 changes: 19 additions & 0 deletions .github/workflows/pr_labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Pull Request Labeler"

on:
- pull_request_target

permissions:
contents: read

jobs:
labeler:
permissions:
contents: read # for actions/labeler to determine modified files
pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: .github/pr_labeler.yml
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Loading