Skip to content

Commit

Permalink
Merge pull request #98 from danicheg/auto-pr-labelling
Browse files Browse the repository at this point in the history
Enable auto PR labelling
  • Loading branch information
danicheg authored Jan 30, 2024
2 parents e30117c + 31c547a commit c641da5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
dependencies:
- head-branch: '^update/'
- changed-files:
- all-globs-to-any-file: ['**/build.sbt']

docs:
- changed-files:
- any-glob-to-any-file: ['docs/*', 'website/*', '**/*.md']

sbt-scalac-profiling:
- changed-files:
- any-glob-to-any-file: 'sbt-plugin/*'

scalac-profiling:
- changed-files:
- any-glob-to-any-file: ['external/*', 'integrations/*', 'profiledb/*', 'plugin/*']

behind-the-scenes:
- changed-files:
- all-globs-to-all-files: ['!**/build.sbt', '!docs/*', '!website/*', '!**/*.md', '!sbt-plugin/*', '!external/*', '!integrations/*', '!profiledb/*', '!plugin/*']
12 changes: 12 additions & 0 deletions .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Label PRs"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit c641da5

Please sign in to comment.