Skip to content

Commit

Permalink
Bump actions/labeler from 4 to 5
Browse files Browse the repository at this point in the history
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and TrianguloY committed Dec 6, 2023
1 parent 2c8d805 commit 996d1d9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
45 changes: 24 additions & 21 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,37 @@
# You will probably need to modify the labels, or their targets.
#

# Add 'assets' label to any assets file changes within the source dir
Assets:
- app/src/main/assets/**/*
# Add 'Github' label to any file changes within the '.github' dir
Github:
- changed-files:
- any-glob-to-any-file: '.github/**'

# Add 'Automation' label to any file changes within scripts or workflows dir
# Add 'Automation' label to any file changes within the 'workflows' dir
Automation:
- .github/scripts/**/*
- .github/workflows/**/*

# Add 'Github' label to any git file changes within the source dir
Github:
- .github/**/*
- changed-files:
- any-glob-to-any-file: '.github/workflows/**'

# Add 'Core' label to any change within the 'core' package
# Add 'Core' label to any file changes within the 'java' dir
Core:
- app/src/main/java/**/*
- app/src/main/kotlin/**/*
- changed-files:
- any-glob-to-any-file: 'app/src/main/java/**'

# Add 'Store file' label to any change within the 'play' folder and subfolder(s)
# Add 'Store file' label to any change within the 'play' dir
Store file:
- app/src/main/play/**/*
- changed-files:
- any-glob-to-any-file: 'app/src/main/play/**'

# Add 'Gradle wrapper' label to any change within the 'gradle' folder and subfolder
# Add 'assets' label to any change within the 'assets' or 'res' dirs
Assets:
- changed-files:
- any-glob-to-any-file: [ 'app/src/main/assets/**', 'app/src/main/res/**' ]

# Add 'Gradle wrapper' label to any change within the 'gradle' dir
Gradle wrapper:
- gradle/wrapper/**/*
- changed-files:
- any-glob-to-any-file: 'gradle/**'

# Add 'Translation` label to any change to strings.xml files as long as the English strings.xml file hasn't changed
# Add 'Translation` label to any change to strings.xml files other than english
Translation:
- any: ['app/src/**/strings.xml']
all: ['!app/src/main/res/values/strings.xml']

- changed-files:
- all-globs-to-any-file: [ 'app/src/**/strings.xml', '!app/src/main/res/values/strings.xml' ]
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
# Check if you have enabled tokens for your repository
repo-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 996d1d9

Please sign in to comment.