Skip to content

Commit

Permalink
Merge pull request #3214 from purificant/ci_labeler
Browse files Browse the repository at this point in the history
ci: update labeler to v5, change config file to new format
  • Loading branch information
stevenbird committed Dec 17, 2023
2 parents aa9f464 + 8e74a12 commit d32f88a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
49 changes: 32 additions & 17 deletions .github/labeler.yml
@@ -1,49 +1,64 @@
# https://github.com/actions/labeler
CI:
- .github/workflows/*
- .github/labeler.yml
- changed-files:
- any-glob-to-any-file: [".github/workflows/*", ".github/labeler.yml"]

classifier:
- nltk/classify/**/*
- changed-files:
- any-glob-to-any-file: "nltk/classify/**/*"

cli:
- nltk/cli.py
- changed-files:
- any-glob-to-any-file: "nltk/cli.py"

cluster:
- nltk/cluster/**/*
- changed-files:
- any-glob-to-any-file: "nltk/cluster/**/*"

corpus:
- nltk/corpus/**/*
- changed-files:
- any-glob-to-any-file: "nltk/corpus/**/*"

GUI:
- nltk/app/**/*
- changed-files:
- any-glob-to-any-file: "nltk/app/**/*"

internals:
- nltk/internals.py
- changed-files:
- any-glob-to-any-file: "nltk/internals.py"

language-model:
- nltk/lm/**/*
- changed-files:
- any-glob-to-any-file: "nltk/lm/**/*"

metrics:
- nltk/metrics/**/*
- changed-files:
- any-glob-to-any-file: "nltk/metrics/**/*"

parsing:
- nltk/parse/**/*
- changed-files:
- any-glob-to-any-file: "nltk/parse/**/*"

sentiment:
- nltk/sentiment/**/*
- changed-files:
- any-glob-to-any-file: "nltk/sentiment/**/*"

stem/lemma:
- nltk/stem/**/*
- changed-files:
- any-glob-to-any-file: "nltk/stem/**/*"

tagger:
- nltk/tag/**/*
- changed-files:
- any-glob-to-any-file: "nltk/tag/**/*"

tokenizer:
- nltk/tokenize/**/*
- changed-files:
- any-glob-to-any-file: "nltk/tokenize/**/*"

twitter:
- nltk/twitter/**/*
- changed-files:
- any-glob-to-any-file: "nltk/twitter/**/*"

wordnet:
- nltk/corpus/reader/wordnet.py
- changed-files:
- any-glob-to-any-file: "nltk/wordnet/**/*"
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit d32f88a

Please sign in to comment.