This action downloads a list of experiments from experimenter and writes them to the repository. If changes are made, it will open a new pull request or update an existing pull request.
Required The relative or absolute path to the checked out repository. Example: main
Requried The relative file path (from the repo path) to which the downloaded experiments should be written. Example: app/src/main/res/raw/initial_experiments.json
URL from which to fetch Nimbus experiments. Default: https://experimenter.services.mozilla.com/api/v6/experiments/?is_first_run=True
Required App name by which to filter experiments. Example: fenix
Required Remote branch to check diff against. Example: automation/update-nimbus-experiments
The number of files that were modified as part of the script.
The number of files that were modified as compared to the supplied remote branch.
uses: jeddai/update-initial-experiments@v1
with:
repo-path: main
output-path: app/src/main/res/raw/initial_experiments.json
experimenter-url: https://experimenter.services.mozilla.com/api/v6/experiments/
branch: automation/update-nimbus-experiments