Skip to content

Commit

Permalink
chore: label PRs by touched file location (lightbend#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed Oct 15, 2021
1 parent e08af33 commit 3af0342
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 17 deletions.
18 changes: 18 additions & 0 deletions .github/labeler.yml
@@ -0,0 +1,18 @@
# https://github.com/marketplace/actions/labeler

as-framework:
- '**/*'

java-sdk:
- sdk/java/**/*
- maven-java/**/*
- codegen/java-gen/**/*
- codegen/java-gen-compilation-tests/**/*

scala-sdk:
- sdk/scala/**/*
- sbt-plugin/**/*
- codegen/scala-gen/**/*

Documentation:
- docs/**/*
17 changes: 0 additions & 17 deletions .github/release-drafter.yml
Expand Up @@ -22,20 +22,3 @@ template: |
## :bow: Credits
Special thanks to the following contributors who helped with this release: $CONTRIBUTORS
autolabeler:
- label: 'java-sdk'
title:
- '/.*\(.*java.*\):/i'
files:
- '/sdk/java-sdk/**'
- label: 'scala-sdk'
title:
- '/.*\(.*scala.*\):/i'
files:
- '/sdk/scala-sdk/**'
- label: 'Documentation'
title:
- '/doc.*:/i'
files:
- '/docs/**'
13 changes: 13 additions & 0 deletions .github/workflows/labeler.yml
@@ -0,0 +1,13 @@
# https://github.com/marketplace/actions/labeler

name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 3af0342

Please sign in to comment.