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(platform): make Classic Python checks dispatch safe (#14278)
Nicholas Tindle81f7190473cd
diff --git a/.github/workflows/classic-python-checks.yml b/.github/workflows/classic-python-checks.ymlindex 075cc8015b..e0a88286de 100644--- a/.github/workflows/classic-python-checks.yml+++ b/.github/workflows/classic-python-checks.yml@@ -23,9 +23,13 @@ on:- 'classic/poetry.lock'- '**.py'- '!classic/forge/tests/vcr_cassettes'+ workflow_dispatch:++permissions:+ contents: readconcurrency:- group: ${{ format('classic-python-checks-ci-{0}', github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha) }}+ group: ${{ format('classic-python-checks-ci-{0}', github.event_name == 'workflow_dispatch' && github.run_id || (github.head_ref && format('{0}-{1}', github.event_name, github.event.pull_request.number) || github.sha)) }}cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') }}defaults: