Skip to content

Commit

Permalink
Merge pull request #100 from danicheg/fix-labelling
Browse files Browse the repository at this point in the history
Tweak the auto PR labelling
  • Loading branch information
danicheg committed Jan 30, 2024
2 parents c641da5 + 5482bcf commit 881afda
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/labeler.yml
@@ -1,20 +1,30 @@
dependencies:
- head-branch: '^update/'
- changed-files:
- all-globs-to-any-file: ['**/build.sbt']
- all:
- head-branch: '^update/'
- changed-files:
- all-globs-to-any-file: '**/build.sbt'

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

sbt-scalac-profiling:
- changed-files:
- any-glob-to-any-file: 'sbt-plugin/*'
- 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/*']
- all:
- changed-files:
- all-globs-to-all-files: '!**/build.sbt'
- all-globs-to-all-files: '!docs/*'
- all-globs-to-all-files: '!website/*'
- all-globs-to-all-files: '!**/*.md'
- all-globs-to-all-files: '!sbt-plugin/*'
- all-globs-to-all-files: '!external/*'
- all-globs-to-all-files: '!integrations/*'
- all-globs-to-all-files: '!profiledb/*'
- all-globs-to-all-files: '!plugin/*'
2 changes: 2 additions & 0 deletions .github/workflows/label-pr.yml
Expand Up @@ -10,3 +10,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
sync-labels: true

0 comments on commit 881afda

Please sign in to comment.