ci: Enable telemetry in CI runs on `master`
parent
ae197fc85f
commit
6017eefb32
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue