AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
ci: Auto-label PRs based on the scope of their diff
Reinier van der Leer695049bfa3ec
diff --git a/.github/labeler.yml b/.github/labeler.ymlnew file mode 100644index 0000000000..140174388d--- /dev/null+++ b/.github/labeler.yml@@ -0,0 +1,23 @@+AutoGPT Agent:+- changed-files:+ - any-glob-to-any-file: autogpts/autogpt/**++Forge:+- changed-files:+ - any-glob-to-any-file: autogpts/forge/**++Benchmark:+- changed-files:+ - any-glob-to-any-file: benchmark/**++Frontend:+- changed-files:+ - any-glob-to-any-file: frontend/**++Arena:+- changed-files:+ - any-glob-to-any-file: arena/**++documentation:+- changed-files:+ - any-glob-to-any-file: docs/**diff --git a/.github/workflows/pr-label.yml b/.github/workflows/pr-label.ymlindex 512daf1161..f550fe8e65 100644--- a/.github/workflows/pr-label.yml+++ b/.github/workflows/pr-label.yml@@ -55,3 +55,14 @@ jobs:message_if_xl: >This PR exceeds the recommended size of 500 lines.Please make sure you are NOT addressing multiple issues with one PR.++ scope:+ if: ${{ github.event_name == 'pull_request_target' }}+ permissions:+ contents: read+ pull-requests: write+ runs-on: ubuntu-latest+ steps:+ - uses: actions/labeler@v5+ with:+ sync-labels: true