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.
Add CI trigger for release-* branches
Reinier van der Leerbbaa5b89c2c0
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 0718c46f44..3e21d1d701 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -7,18 +7,18 @@ on:- 'tests/Auto-GPT-test-cassettes'- 'tests/challenges/current_score.json'pull_request:- branches: [ stable, master ]+ branches: [ stable, master, release-* ]pull_request_target:- branches: [ master, ci-test* ]+ branches: [ master, release-*, ci-test* ]concurrency:- group: ${{ format('ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}- cancel-in-progress: ${{ startsWith(github.event_name, 'pull_request') && github.event.pull_request.head.repo.fork == (github.event_name == 'pull_request_target') }}+ group: ${{ format('ci-{0}', 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') }}jobs:lint:- # eliminate duplicate runs on master- if: github.event_name == 'push' || github.base_ref != 'master' || (github.event.pull_request.head.repo.fork == (github.event_name == 'pull_request_target'))+ # eliminate duplicate runs+ if: github.event_name == 'push' || (github.event.pull_request.head.repo.fork == (github.event_name == 'pull_request_target'))runs-on: ubuntu-latestenv:@@ -73,8 +73,8 @@ jobs:$cmd --check || (echo "You have unused imports or pass statements, please run '${cmd} --in-place'" && exit 1)test:- # eliminate duplicate runs on master- if: github.event_name == 'push' || github.base_ref != 'master' || (github.event.pull_request.head.repo.fork == (github.event_name == 'pull_request_target'))+ # eliminate duplicate runs+ if: github.event_name == 'push' || (github.event.pull_request.head.repo.fork == (github.event_name == 'pull_request_target'))permissions:# Gives the action the necessary permissions for publishing newdiff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.ymlindex cacb58c566..3da88891ed 100644--- a/.github/workflows/docker-ci.yml+++ b/.github/workflows/docker-ci.yml@@ -7,7 +7,7 @@ on:- 'tests/Auto-GPT-test-cassettes'- 'tests/challenges/current_score.json'pull_request:- branches: [ master, stable ]+ branches: [ master, release-*, stable ]concurrency:group: ${{ format('docker-ci-{0}', github.head_ref && format('pr-{0}', github.event.pull_request.number) || github.sha) }}diff --git a/.github/workflows/pr-label.yml b/.github/workflows/pr-label.ymlindex e024f34b9f..ebeb7305ed 100644--- a/.github/workflows/pr-label.yml+++ b/.github/workflows/pr-label.yml@@ -3,7 +3,7 @@ name: "Pull Request auto-label"on:# So that PRs touching the same files as the push are updatedpush:- branches: [ master ]+ branches: [ master, release-* ]paths-ignore:- 'tests/Auto-GPT-test-cassettes'- 'tests/challenges/current_score.json'