fixes #26905: update nimbus experiments github action control flow and versions
This commit is contained in:
parent
1bc33c53fa
commit
d469624d25
|
@ -19,16 +19,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: fenix
|
path: fenix
|
||||||
ref: main
|
ref: main
|
||||||
|
fetch-depth: 0
|
||||||
- name: "Update Experiments JSON"
|
- name: "Update Experiments JSON"
|
||||||
id: update-experiments-json
|
id: update-experiments-json
|
||||||
uses: mozilla-mobile/update-experiments@v1
|
uses: mozilla-mobile/update-experiments@v2
|
||||||
with:
|
with:
|
||||||
repo-path: fenix
|
repo-path: fenix
|
||||||
output-path: app/src/main/res/raw/initial_experiments.json
|
output-path: app/src/main/res/raw/initial_experiments.json
|
||||||
experimenter-url: https://experimenter.services.mozilla.com/api/v6/experiments/?is_first_run=true
|
experimenter-url: https://experimenter.services.mozilla.com/api/v6/experiments-first-run/
|
||||||
app-name: fenix
|
app-name: fenix
|
||||||
|
branch: automation/update-nimbus-experiments
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v3
|
||||||
|
if: steps.update-experiments-json.outputs.changed == 1 && steps.update-experiments-json.outputs.changed-branch == 1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
path: fenix
|
path: fenix
|
||||||
|
|
Loading…
Reference in New Issue