An open API service indexing awesome lists of open source software.

https://github.com/mozilla-mobile/update-experiments


https://github.com/mozilla-mobile/update-experiments

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# 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

```yaml
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
```