-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into create-experiment-from-funnel
- Loading branch information
Showing
156 changed files
with
12,130 additions
and
2,510 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ name: Automerge | |
env: | ||
MERGE_METHOD: 'squash' | ||
MERGE_RETRY_SLEEP: 300000 | ||
# MERGE_ERROR_FAIL: Set this to "true" to have the action exit with error code 1 | ||
# when the pull request could not be merged successfully during a run. | ||
MERGE_ERROR_FAIL: true | ||
|
||
on: | ||
pull_request: | ||
|
@@ -27,9 +30,41 @@ jobs: | |
env: | ||
IS_POSTHOG_BOT_AVAILABLE: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN != '' }} | ||
steps: | ||
- name: Automerge | ||
# must have an id so subsequent steps can use the output | ||
- id: automergeStep | ||
name: Automerge | ||
if: env.IS_POSTHOG_BOT_AVAILABLE == 'true' | ||
uses: pascalgn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }} | ||
- run: echo | ||
|
||
# the automerge documentation claims it adds these outputs but we don't get them | ||
# maybe because it was a fake PR 🤷 | ||
- name: Print Automerge Outputs as JSON | ||
if: ${{ always() }} | ||
run: | | ||
echo "For future debugging... the Automerge Outputs are:" | ||
if [[ "${{ steps.automergeStep.outputs.mergeResult }}" != "" ]]; then | ||
echo '{"mergeResult": "${{ steps.automergeStep.outputs.mergeResult }}", "pullRequestNumber": "${{ steps.automergeStep.outputs.pullRequestNumber }}"}' | jq . | ||
else | ||
echo "No outputs from Automerge action." | ||
fi | ||
# a CDP destination is setup to alert when we get this event | ||
- name: Send Automerge Event to PostHog | ||
if: ${{ failure() }} | ||
uses: PostHog/[email protected] | ||
with: | ||
posthog-token: '${{ secrets.POSTHOG_API_TOKEN }}' | ||
event: 'posthog-github-automerge-pr-status' | ||
properties: >- | ||
{ | ||
"prUrl": "${{ github.event.pull_request.html_url }}", | ||
"jobStatus": "${{ job.status }}", | ||
"prTitle": "${{ github.event.pull_request.title }}", | ||
"prNumber": "${{ github.event.pull_request.number }}", | ||
"prState": "${{ github.event.pull_request.mergeable_state }}", | ||
"mergeResult": "${{ steps.automergeStep.outputs.mergeResult }}", | ||
"pullRequestNumber": "${{ steps.automergeStep.outputs.pullRequestNumber }}", | ||
"automergeOutcome": "${{ steps.automergeStep.outcome }}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-72 Bytes
(100%)
frontend/__snapshots__/replay-player-success--second-recording-in-list--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+106 KB
...d/__snapshots__/scenes-app-experiments--experiment-with-three-metrics--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+109 KB
.../__snapshots__/scenes-app-experiments--experiment-with-three-metrics--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-19.9 KB
(82%)
frontend/__snapshots__/scenes-app-experiments--experiments-list--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-19.3 KB
(83%)
frontend/__snapshots__/scenes-app-experiments--experiments-list--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...snapshots__/scenes-app-insights--funnel-top-to-bottom-breakdown-edit--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+237 Bytes
(100%)
frontend/__snapshots__/scenes-app-pipeline--pipeline-node-new-big-query--dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-30 Bytes
(100%)
frontend/__snapshots__/scenes-app-pipeline--pipeline-node-new-big-query--light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.