diff --git a/.github/workflows/update-flagsmith-environment.yml b/.github/workflows/update-flagsmith-environment.yml index 8ce8ea7929c5..67fb407a5362 100644 --- a/.github/workflows/update-flagsmith-environment.yml +++ b/.github/workflows/update-flagsmith-environment.yml @@ -4,6 +4,9 @@ on: schedule: - cron: 0 8 * * * workflow_dispatch: + push: + branches: + - ci/run-workflows-on-update-flagsmith-environment defaults: run: @@ -33,10 +36,10 @@ jobs: run: poetry run python manage.py updateflagsmithenvironment - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v8 with: commit-message: Update API Flagsmith Defaults - branch: chore/update-api-flagsmith-environment delete-branch: true - title: 'chore: update Flagsmith environment document' + title: 'chore: Update Flagsmith environment document' labels: api + token: ${{ secrets.UPDATE_ENVIRONMENT_DOCUMENT_WORKFLOW_GH_PAT }} diff --git a/api/integrations/flagsmith/data/environment.json b/api/integrations/flagsmith/data/environment.json index 94d278a6fcfa..15b6b7200536 100644 --- a/api/integrations/flagsmith/data/environment.json +++ b/api/integrations/flagsmith/data/environment.json @@ -80,16 +80,16 @@ "multivariate_feature_state_values": [] }, { - "django_id": 1204874, - "enabled": false, + "django_id": 1207975, + "enabled": true, "feature": { "id": 189491, "name": "compress_dynamo_documents", "type": "STANDARD" }, "feature_segment": null, - "feature_state_value": null, - "featurestate_uuid": "8cf41618-d392-4981-8f87-b60c5f3e8c79", + "feature_state_value": "", + "featurestate_uuid": "e0d380a6-bdbc-4ad6-ae6f-b8b77d8beae6", "multivariate_feature_state_values": [] } ],