diff --git a/.github/labeler.yml b/.github/labeler.yml index f9191c1d..01b9aec3 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -2,67 +2,51 @@ 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" diff --git a/.github/library/setup/action.yml b/.github/library/setup/action.yml index 95dd30e0..fc3a53b8 100644 --- a/.github/library/setup/action.yml +++ b/.github/library/setup/action.yml @@ -1,3 +1,4 @@ +--- name: "Setup" description: Setup the environment for the project inputs: @@ -5,7 +6,6 @@ inputs: description: "Python version to use" required: false default: "3.10" - runs: using: "composite" steps: @@ -39,8 +39,8 @@ runs: source .venv/bin/activate echo PATH=$PATH >> $GITHUB_ENV shell: bash - # - name: "Install apt dependencies" - # run: | - # sudo apt-get update - # sudo apt-get install -y python3-opencv - # shell: bash + # - name: "Install apt dependencies" + # run: | + # sudo apt-get update + # sudo apt-get install -y python3-opencv + # shell: bash diff --git a/.github/workflows/codacy.yml b/.github/workflows/codacy.yml index 5bd76f4c..2274b506 100644 --- a/.github/workflows/codacy.yml +++ b/.github/workflows/codacy.yml @@ -11,7 +11,6 @@ # https://github.com/codacy/codacy-analysis-cli-action. # For more information on Codacy Analysis CLI in general, see # https://github.com/codacy/codacy-analysis-cli. - name: Codacy Security Scan on: push: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 73e48835..5b189ce4 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -60,9 +60,6 @@ jobs: # queries: security-extended,security-and-quality 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. # 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" # ./location_of_script_within_repo/buildscript.sh - 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 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index ff9dbc08..655f5f28 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -5,7 +5,6 @@ # 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_target] jobs: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 6e5fc11c..430b5127 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -25,24 +25,23 @@ jobs: close-issue-reason: not_planned any-of-labels: "status:awaiting user response,status:more data needed" stale-issue-message: > - Marking this issue as stale since it has been open for 14 days with no activity. - This issue will be closed if no further activity occurs. + Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further + activity occurs. close-issue-message: > - This issue was closed because it has been inactive for 28 days. - Please post a new issue if you need further assistance. + This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks! days-before-pr-stale: 14 days-before-pr-close: 14 stale-pr-label: "status:stale" stale-pr-message: > - Marking this pull request as stale since it has been open for 14 days with no activity. - This PR will be closed if no further activity occurs. + Marking this pull request as stale since it has been open for 14 days with no activity. This PR will be closed if no + further activity occurs. close-pr-message: > - This pull request was closed because it has been inactive for 28 days. - Please open a new pull request if you need furtherassistance. Thanks! + This pull request was closed because it has been inactive for 28 days. Please open a new pull request if you need furtherassistance. + Thanks! # Label that can be assigned to issues to exclude them from being marked as stale exempt-issue-labels: 'override-stale' diff --git a/.github/workflows/test_pr.yml b/.github/workflows/test_pr.yml index 44ec883a..b45bee35 100644 --- a/.github/workflows/test_pr.yml +++ b/.github/workflows/test_pr.yml @@ -1,6 +1,5 @@ --- # Notebook-related checks - name: Presubmit checks on: # Relevant PRs diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 094943d0..e3e7809e 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -15,8 +15,8 @@ jobs: with: repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: > - Hello there, thank you for opening an Issue ! 🙏đŸģ - The team was notified and they will get back to you asap. + Hello there, thank you for opening an Issue ! 🙏đŸģ The team was notified and they will get back to you asap. + pr-message: > - Hello there, thank you for opening an PR ! 🙏đŸģ - The team was notified and they will get back to you asap. + Hello there, thank you for opening an PR ! 🙏đŸģ The team was notified and they will get back to you asap. + diff --git a/.yamlfmt b/.yamlfmt index 650063d6..9d2bc0c9 100644 --- a/.yamlfmt +++ b/.yamlfmt @@ -1,4 +1,4 @@ formatter: type: basic include_document_start: true - max_line_length: 127 \ No newline at end of file + max_line_length: 127 diff --git a/mkdocs.yml b/mkdocs.yml index 904f5c4e..62fbca90 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -178,4 +178,4 @@ nav: - Hiring: "corporate/hiring.md" - SwarmCloud: "corporate/swarm_cloud.md" - SwarmMemo: "corporate/swarm_memo.md" - - Data Room: "corporate/data_room.md" \ No newline at end of file + - Data Room: "corporate/data_room.md"