Skip to content
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
29 changes: 29 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
doc:
- changed-files:
- any-glob-to-any-file:
- '**/*.md'
- 'docs/**'

internal:
- changed-files:
- any-glob-to-any-file:
- '.github/**'
- 'project/**'
- 'scripts/**'
- 'sbt'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

In Scala projects, build.sbt and other root-level .sbt files (such as version.sbt) are the primary build configuration files. Since this labeler is now path-based for internal updates, these files should be explicitly included to ensure build-related changes are correctly categorized.

          - 'sbt'
          - 'build.sbt'
          - '*.sbt'

- '.scalafmt.conf'
- '.scalafix.conf'

feature:
- head-branch:
- '^feature/'
- '^feat/'

bug:
- head-branch:
- '^fix/'
- '^bug/'
Comment on lines +24 to +25

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Adding the ^bugfix/ prefix to the bug label patterns provides better coverage, as it is a very common naming convention for bug-related branches alongside fix/ and bug/.

      - '^fix/'
      - '^bug/'
      - '^bugfix/'


deprecation:
- head-branch:
- '^deprecate/'
55 changes: 0 additions & 55 deletions .github/release-drafter.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Labeler

on:
pull_request_target:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
label:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
27 changes: 0 additions & 27 deletions .github/workflows/release-drafter.yml

This file was deleted.

Loading