ci: Enable telemetry in CI runs on `master`

pull/6845/head
Reinier van der Leer 2024-02-14 12:03:54 +01:00
parent ae197fc85f
commit 6017eefb32
No known key found for this signature in database
GPG Key ID: CDC1180FDAE06193
4 changed files with 13 additions and 0 deletions

View File

@ -22,6 +22,10 @@ defaults:
run:
working-directory: autogpts/autogpt
env:
TELEMETRY_ENVIRONMENT: autogpt-ci
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
jobs:
lint:
runs-on: ubuntu-latest

View File

@ -27,6 +27,9 @@ env:
DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/auto-gpt
DEV_IMAGE_TAG: latest-dev
TELEMETRY_ENVIRONMENT: autogpt-docker-ci
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
jobs:
build:
runs-on: ubuntu-latest

View File

@ -25,6 +25,10 @@ on:
- 'setup.py'
- '!**/*.md'
env:
TELEMETRY_ENVIRONMENT: autogpt-ci
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
jobs:
run-tests:
runs-on: ubuntu-latest

View File

@ -16,6 +16,8 @@ on:
env:
min-python-version: '3.10'
TELEMETRY_ENVIRONMENT: autogpt-benchmark-ci
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
jobs:
lint: