Skip to content

Commit f4578cc

Browse files
committed
Add automation to import the plan
1 parent 1b1c1c8 commit f4578cc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sync-from-external-sources.yml

+23
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,27 @@ jobs:
7070
body: |
7171
- Update SAS Strings from matrix-doc.
7272
branch: sync-sas-strings
73+
base: develop
74+
75+
sync-analytics-plan:
76+
runs-on: ubuntu-latest
77+
# Skip in forks
78+
if: github.repository == 'vector-im/element-android'
79+
steps:
80+
- uses: actions/checkout@v2
81+
- name: Run analytics import script
82+
run: ./tools/import_analytic_plan.sh
83+
- name: Create Pull Request for analytics plan
84+
uses: peter-evans/create-pull-request@v3
85+
with:
86+
commit-message: Sync analytics plan
87+
title: Sync analytics plan
88+
body: |
89+
### Update analytics plan
90+
Reviewers:
91+
- [ ] Please remove usage of Event or Enum which may have been removed or updated
92+
- [ ] please ensure new Events or new Enums are used to send analytics by pushing new commit(s) to this PR.
93+
94+
*Note*: Change are coming from [this project](https://github.com/matrix-org/matrix-analytics-events)
95+
branch: sync-analytics-plan
7396
base: develop

0 commit comments

Comments
 (0)