Skip to content

Commit

Permalink
Start PR labelling automation (#337)
Browse files Browse the repository at this point in the history
* Start PR labelling automation

Start PR labelling automation

* Create labeler.yml

* Update labeler.yml
  • Loading branch information
teolemon authored Dec 20, 2021
1 parent f7b254e commit be46739
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
github_actions:
- .github/**/*

test:
- test/**/*

knowledge panels:
- lib/model/KnowledgePanel.g.dart
- lib/model/KnowledgePanelElement.g.dart

product:
- lib/model/Product.dart
- lib/model/Product.g.dart

robotoff:
- lib/model/RobotoffQuestion.g.dart

pubspec:
- pubspec.yaml

ecoscore:
- lib/model/EcoscoreData.g.dart

personalized search:
- lib/personalized_search/**/*

folksonomy:
- lib/folksonomy.dart
22 changes: 22 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request]

jobs:
label:

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

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

0 comments on commit be46739

Please sign in to comment.