Skip to content

Commit 2b7ae75

Browse files
authored
Bugfix FXIOS-10600 Nimbus github action (#23219)
* Bugfix FXIOS-10600 Nimbus github action change checkout and .git owner * undo debug changes
1 parent 1026493 commit 2b7ae75

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/firefox-ios-update-nimbus-experiments.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,29 @@ jobs:
2929
experimenter-url: https://experimenter.services.mozilla.com/api/v6/experiments-first-run/
3030
app-name: firefox_ios
3131
branch: automation/update-nimbus-experiments
32+
- name: "Debug - workaround issue: 23215"
33+
run: |-
34+
cd firefox-ios
35+
sudo chown runner:docker -R .git
3236
- name: Create Pull Request
3337
id: create-pull-request
3438
uses: peter-evans/create-pull-request@v6
3539
if: steps.update-experiments-json.outputs.changed == 1 && steps.update-experiments-json.outputs.changed-branch >= 1
3640
with:
3741
token: ${{ secrets.GITHUB_TOKEN }}
42+
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
43+
committer: GitHub <noreply@github.com>
3844
path: firefox-ios
45+
add-paths: firefox-ios/Client/Experiments/initial_experiments.json
3946
branch: automation/update-nimbus-experiments
4047
commit-message: "update initial_experiments.json based on the current first-run experiments in experimenter"
4148
title: "Refactor [vXXX] Update initial experiments JSON for Nimbus"
4249
body: "This (automated) PR updates the initial_experiments.json on the `main` branch"
4350
delete-branch: true
4451
labels: Needs Code Review
45-
- name: Enable Pull Request Automerge
46-
if: steps.create-pull-request.outputs.pull-request-operation == 'created'
47-
run: gh pr merge --squash "${{ steps.create-pull-request.outputs.pull-request-number }}"
48-
env:
49-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
# Disabling Automerge
53+
#- name: Enable Pull Request Automerge
54+
# if: steps.create-pull-request.outputs.pull-request-operation == 'created'
55+
# run: gh pr merge --squash "${{ steps.create-pull-request.outputs.pull-request-number }}"
56+
# env:
57+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)