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

@ -2,67 +2,51 @@
documentation: documentation:
- changed-files: - changed-files:
- any-glob-to-any-file: ["docs/**", "*.md"] - any-glob-to-any-file: ["docs/**", "*.md"]
tests: tests:
- changed-files: - changed-files:
- any-glob-to-any-file: "tests/**" - any-glob-to-any-file: "tests/**"
agents: agents:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/agents/**" - any-glob-to-any-file: "swarms/agents/**"
artifacts: artifacts:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/artifacts/**" - any-glob-to-any-file: "swarms/artifacts/**"
chunkers: chunkers:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/chunkers/**" - any-glob-to-any-file: "swarms/chunkers/**"
cli: cli:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/cli/**" - any-glob-to-any-file: "swarms/cli/**"
loaders: loaders:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/loaders/**" - any-glob-to-any-file: "swarms/loaders/**"
memory: memory:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/memory/**" - any-glob-to-any-file: "swarms/memory/**"
models: models:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/models/**" - any-glob-to-any-file: "swarms/models/**"
prompts: prompts:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/prompts/**" - any-glob-to-any-file: "swarms/prompts/**"
structs: structs:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/structs/**" - any-glob-to-any-file: "swarms/structs/**"
telemetry: telemetry:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/telemetry/**" - any-glob-to-any-file: "swarms/telemetry/**"
tokenizers: tokenizers:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/tokenizers/**" - any-glob-to-any-file: "swarms/tokenizers/**"
tools: tools:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/tools/**" - any-glob-to-any-file: "swarms/tools/**"
utils: utils:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/utils/**" - any-glob-to-any-file: "swarms/utils/**"
workers: workers:
- changed-files: - changed-files:
- any-glob-to-any-file: "swarms/workers/**" - any-glob-to-any-file: "swarms/workers/**"
rust: rust:
- changed-files: - changed-files:
- any-glob-to-any-file: "**/*.rs" - any-glob-to-any-file: "**/*.rs"

@ -1,3 +1,4 @@
---
name: "Setup" name: "Setup"
description: Setup the environment for the project description: Setup the environment for the project
inputs: inputs:
@ -5,7 +6,6 @@ inputs:
description: "Python version to use" description: "Python version to use"
required: false required: false
default: "3.10" default: "3.10"
runs: runs:
using: "composite" using: "composite"
steps: steps:
@ -39,8 +39,8 @@ runs:
source .venv/bin/activate source .venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV echo PATH=$PATH >> $GITHUB_ENV
shell: bash shell: bash
# - name: "Install apt dependencies" # - name: "Install apt dependencies"
# run: | # run: |
# sudo apt-get update # sudo apt-get update
# sudo apt-get install -y python3-opencv # sudo apt-get install -y python3-opencv
# shell: bash # shell: bash

@ -11,7 +11,6 @@
# https://github.com/codacy/codacy-analysis-cli-action. # https://github.com/codacy/codacy-analysis-cli-action.
# For more information on Codacy Analysis CLI in general, see # For more information on Codacy Analysis CLI in general, see
# https://github.com/codacy/codacy-analysis-cli. # https://github.com/codacy/codacy-analysis-cli.
name: Codacy Security Scan name: Codacy Security Scan
on: on:
push: push:

@ -60,9 +60,6 @@ jobs:
# queries: security-extended,security-and-quality # queries: security-extended,security-and-quality
uses: github/codeql-action/autobuild@v3 uses: github/codeql-action/autobuild@v3
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines. # If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
@ -70,6 +67,9 @@ jobs:
# echo "Run, Build Application using script" # echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh # ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
uses: github/codeql-action/analyze@v3 uses: github/codeql-action/analyze@v3
with: with:
category: "/language:${{matrix.language}}" category: "/language:${{matrix.language}}"

@ -5,7 +5,6 @@
# To use this workflow, you will need to set up a .github/labeler.yml # To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see: # file with configuration. For more information, see:
# https://github.com/actions/labeler # https://github.com/actions/labeler
name: Labeler name: Labeler
on: [pull_request_target] on: [pull_request_target]
jobs: jobs:

@ -25,24 +25,23 @@ jobs:
close-issue-reason: not_planned close-issue-reason: not_planned
any-of-labels: "status:awaiting user response,status:more data needed" any-of-labels: "status:awaiting user response,status:more data needed"
stale-issue-message: > stale-issue-message: >
Marking this issue as stale since it has been open for 14 days with no activity. Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further
This issue will be closed if no further activity occurs. activity occurs.
close-issue-message: > close-issue-message: >
This issue was closed because it has been inactive for 28 days. This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance.
Please post a new issue if you need further assistance.
Thanks! Thanks!
days-before-pr-stale: 14 days-before-pr-stale: 14
days-before-pr-close: 14 days-before-pr-close: 14
stale-pr-label: "status:stale" stale-pr-label: "status:stale"
stale-pr-message: > stale-pr-message: >
Marking this pull request as stale since it has been open for 14 days with no activity. Marking this pull request as stale since it has been open for 14 days with no activity. This PR will be closed if no
This PR will be closed if no further activity occurs. further activity occurs.
close-pr-message: > close-pr-message: >
This pull request was closed because it has been inactive for 28 days. This pull request was closed because it has been inactive for 28 days. Please open a new pull request if you need furtherassistance.
Please open a new pull request if you need furtherassistance. Thanks! Thanks!
# Label that can be assigned to issues to exclude them from being marked as stale # Label that can be assigned to issues to exclude them from being marked as stale
exempt-issue-labels: 'override-stale' exempt-issue-labels: 'override-stale'

@ -1,6 +1,5 @@
--- ---
# Notebook-related checks # Notebook-related checks
name: Presubmit checks name: Presubmit checks
on: on:
# Relevant PRs # Relevant PRs

@ -15,8 +15,8 @@ jobs:
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: > issue-message: >
Hello there, thank you for opening an Issue ! 🙏🏻 Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.
The team was notified and they will get back to you asap.
pr-message: > pr-message: >
Hello there, thank you for opening an PR ! 🙏🏻 Hello there, thank you for opening an PR ! 🙏🏻 The team was notified and they will get back to you asap.
The team was notified and they will get back to you asap.

@ -1,4 +1,4 @@
formatter: formatter:
type: basic type: basic
include_document_start: true include_document_start: true
max_line_length: 127 max_line_length: 127

@ -178,4 +178,4 @@ nav:
- Hiring: "corporate/hiring.md" - Hiring: "corporate/hiring.md"
- SwarmCloud: "corporate/swarm_cloud.md" - SwarmCloud: "corporate/swarm_cloud.md"
- SwarmMemo: "corporate/swarm_memo.md" - SwarmMemo: "corporate/swarm_memo.md"
- Data Room: "corporate/data_room.md" - Data Room: "corporate/data_room.md"

Loading…
Cancel
Save