Re-add labeler and add some labels

pull/388/head
Wyatt Stanke 11 months ago
parent a96d79c75b
commit b02a693f31
No known key found for this signature in database
GPG Key ID: CE6BA5FFF135536D

@ -1,12 +1,68 @@
--- ---
# this is a config file for the github action labeler documentation:
- changed-files:
# Add 'label1' to any changes within 'example' folder or any subfolders - any-glob-to-any-file: ['docs/**', "*.md"]
example_change:
- example/** tests:
# Add 'label2' to any file changes within 'example2' folder - changed-files:
example2_change: example2/* - any-glob-to-any-file: 'tests/**'
# Add label3 to any change to .txt files within the entire repository.
# Quotation marks are required for the leading asterisk agents:
text_files: - changed-files:
- '**/*.txt' - any-glob-to-any-file: 'swarms/agents/**'
artifacts:
- changed-files:
- any-glob-to-any-file: 'swarms/artifacts/**'
chunkers:
- changed-files:
- any-glob-to-any-file: 'swarms/chunkers/**'
cli:
- changed-files:
- any-glob-to-any-file: 'swarms/cli/**'
loaders:
- changed-files:
- any-glob-to-any-file: 'swarms/loaders/**'
memory:
- changed-files:
- any-glob-to-any-file: 'swarms/memory/**'
models:
- changed-files:
- any-glob-to-any-file: 'swarms/models/**'
prompts:
- changed-files:
- any-glob-to-any-file: 'swarms/prompts/**'
structs:
- changed-files:
- any-glob-to-any-file: 'swarms/structs/**'
telemetry:
- changed-files:
- any-glob-to-any-file: 'swarms/telemetry/**'
tokenizers:
- changed-files:
- any-glob-to-any-file: 'swarms/tokenizers/**'
tools:
- changed-files:
- any-glob-to-any-file: 'swarms/tools/**'
utils:
- changed-files:
- any-glob-to-any-file: 'swarms/utils/**'
workers:
- changed-files:
- any-glob-to-any-file: 'swarms/workers/**'
rust:
- changed-files:
- any-glob-to-any-file: '**/*.rs'

@ -14,7 +14,8 @@ jobs:
permissions: permissions:
contents: read contents: read
pull-requests: write pull-requests: write
# steps: steps:
# - uses: actions/labeler@v5 - uses: actions/labeler@v5
# with: with:
# repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
Loading…
Cancel
Save