Skip to content

mozilla-mobile/update-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update initial experiments docker action

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.

Inputs

repo-path

Required The relative or absolute path to the checked out repository. Example: main

output-path

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

experimenter-url

URL from which to fetch Nimbus experiments. Default: https://experimenter.services.mozilla.com/api/v6/experiments/?is_first_run=True

app-name

Required App name by which to filter experiments. Example: fenix

branch

Required Remote branch to check diff against. Example: automation/update-nimbus-experiments

Outputs

changed

The number of files that were modified as part of the script.

changed-branch

The number of files that were modified as compared to the supplied remote branch.

Example usage

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