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
# Add 'label1' to any changes within 'example' folder or any subfolders
example_change:
- example/**
# Add 'label2' to any file changes within 'example2' folder
example2_change: example2/*
# Add label3 to any change to .txt files within the entire repository.
# Quotation marks are required for the leading asterisk
text_files:
- '**/*.txt'
documentation:
- changed-files:
- any-glob-to-any-file: ['docs/**', "*.md"]
tests:
- changed-files:
- any-glob-to-any-file: 'tests/**'
agents:
- changed-files:
- 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:
contents: read
pull-requests: write
# steps:
# - uses: actions/labeler@v5
# with:
# repo-token: "${{ secrets.GITHUB_TOKEN }}"
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
Loading…
Cancel
Save