Skip to content

Commit

Permalink
chore(deps): update labeler config (#11834)
Browse files Browse the repository at this point in the history
* update labeler config

* test for pr labeler - REVERT BEFORE MERGE

* revert test
  • Loading branch information
nkylstad authored Dec 12, 2023
1 parent f343b22 commit 4b59daf
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 37 deletions.
70 changes: 34 additions & 36 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,70 @@
# Labels for solutions
solution/platform:
- 'src/Altinn.Platform/**/*'
- changed-files:
- any-glob-to-any-file: 'src/Altinn.Platform/**/*'

solution/app-backend:
- 'src/studio/AppTemplates/**/*'
- changed-files:
- any-glob-to-any-file: 'src/studio/AppTemplates/**/*'

solution/studio/designer:
- 'backend/**/*'
- 'frontend/**/*'
- changed-files:
- any-glob-to-any-file: ['backend/**/*', 'frontend/**/*']

solution/studio/repos:
- 'gitea/**/*'
- changed-files:
- any-glob-to-any-file: 'gitea/**/*'

# Labels for areas
area/app-deploy:
- 'frontend/app-development/features/appPublish/**/*'
- 'frontend/app-development/sharedResources/appDeployment/**/*'
- 'backend/src/Designer/Controllers/DeploymentsController.cs'
- 'src/studio/AppTemplates/AspNet/deployment/**/*'
- changed-files:
- any-glob-to-any-file: ['frontend/app-development/features/appPublish/**/*', 'frontend/app-development/sharedResources/appDeployment/**/*', 'backend/src/Designer/Controllers/DeploymentsController.cs', 'src/studio/AppTemplates/AspNet/deployment/**/*']

area/dashboard:
- 'frontend/dashboard/**/*'
- changed-files:
- any-glob-to-any-file: 'frontend/dashboard/**/*'

area/data-modeling:
- 'frontend/packages/schema-editor/**/*'
- 'frontend/packages/schema-model/**/*'
- 'frontend/app-development/features/dataModelling/**/*'
- 'backend/src/DataModeling/**/*'
- changed-files:
- any-glob-to-any-file: ['frontend/packages/schema-editor/**/*', 'frontend/packages/schema-model/**/*', 'frontend/app-development/features/dataModelling/**/*', 'backend/src/DataModeling/**/*']

area/pdf:
- 'src/Altinn.Platform/Altinn.Platform.PDF/**/*'
- changed-files:
- any-glob-to-any-file: 'src/Altinn.Platform/Altinn.Platform.PDF/**/*'

area/resource-registry:
- 'frontend/resourceAdm/**/*'
- changed-files:
- any-glob-to-any-file: 'frontend/resourceAdm/**/*'

area/test:
- 'src/test/**/*'
- changed-files:
- any-glob-to-any-file: 'src/test/**/*'

area/text-editor:
- 'frontend/packages/text-editor/**'
- 'frontend/app-development/features/textEditor/**/*'
- changed-files:
- any-glob-to-any-file: ['frontend/packages/text-editor/**', 'frontend/app-development/features/textEditor/**/*']

area/process:
- 'frontend/app-development/features/processEditor/**/*'
- 'frontend/packages/process-editor/**/*'
- 'backend/src/Designer/**/*ProcessesModeling*.cs'
- changed-files:
- any-glob-to-any-file: ['frontend/app-development/features/processEditor/**/*', 'frontend/packages/process-editor/**/*', 'backend/src/Designer/**/*ProcessesModeling*.cs']

area/ui-editor:
- 'frontend/packages/ux-editor/**/*'
- changed-files:
- any-glob-to-any-file: 'frontend/packages/ux-editor/**/*'

area/studio-root:
- 'frontend/studio-root/**/*'
- changed-files:
- any-glob-to-any-file: 'frontend/studio-root/**/*'

## Other labels
kind/dependencies:
- 'backend/packagegroups/NuGet.props'
- 'frontend/**/package.json'
- changed-files:
- any-glob-to-any-file: ['backend/packagegroups/NuGet.props', 'frontend/**/package.json']

quality/testing:
- 'frontend/testing/**/*'
- 'backend/tests/**/*'
- 'testdata/**/*'
- changed-files:
- any-glob-to-any-file: ['frontend/testing/**/*', 'backend/tests/**/*', 'testdata/**/*']

skip-releasenotes:
- '.github/**/*'
- '.husky/**/*'
- '.vscode/**/*'
- '.yarn/**/*'
- 'testdata/**/*'
- 'development/**/*'
- 'src/**/*'
- changed-files:
- any-glob-to-any-file: ['.github/**/*', '.husky/**/*', '.vscode/**/*', '.yarn/**/*', 'testdata/**/*', 'development/**/*', 'src/**/*']
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 4b59daf

Please sign in to comment.