Skip to content

Commit e5217ba

Browse files
Merge branch 'main' into feat/rule-builder
2 parents 0cb60a7 + c36f97c commit e5217ba

File tree

3 files changed

+23
-12
lines changed

3 files changed

+23
-12
lines changed

.github/workflows/tx-pull.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,22 @@ jobs:
2323
token: ${{ secrets.TRANSIFEX_TOKEN }}
2424
args: pull --force --all
2525
- name: Create PR if necessary
26-
uses: peter-evans/[email protected]
26+
id: cpr
27+
uses: peter-evans/create-pull-request@v7
2728
with:
2829
commit-message: "(chore) Update translations from Transifex"
2930
title: "(chore) Update translations from Transifex"
3031
body: "Automated updates of translations pulled from Transifex"
3132
branch: "chore/update-transifex"
3233
author: "OpenMRS Bot <[email protected]>"
33-
token: ${{ secrets.GITHUB_TOKEN }}
34+
token: ${{ secrets.OMRS_BOT_GH_TOKEN }}
35+
- name: ✅ Auto approve PR
36+
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
37+
run: gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
38+
env:
39+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
- name: 🔀 Automerge PR
41+
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
42+
run: gh pr merge --auto --squash "${{ steps.cpr.outputs.pull-request-number }}"
43+
env:
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update-deps.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ jobs:
4242
Update OpenMRS dependencies
4343
branch: 'chore/update-openmrs-deps'
4444
author: 'OpenMRS Bot <[email protected]>'
45-
token: ${{ secrets.GITHUB_TOKEN }}
45+
token: ${{ secrets.OMRS_BOT_GH_TOKEN }}
4646
- name: ✅ Auto approve PR
47-
if: steps.cpr.outputs.pull-request-operation == 'created'
47+
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
4848
run: gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
4949
env:
50-
GH_TOKEN: ${{ secrets.OMRS_BOT_GH_TOKEN }}
50+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
- name: 🔀 Automerge PR
52-
if: steps.cpr.outputs.pull-request-operation == 'created'
52+
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
5353
run: gh pr merge --auto --squash "${{ steps.cpr.outputs.pull-request-number }}"
5454
env:
5555
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3372,8 +3372,8 @@ __metadata:
33723372
linkType: soft
33733373

33743374
"@openmrs/esm-form-engine-lib@npm:next":
3375-
version: 3.1.4-pre.1777
3376-
resolution: "@openmrs/esm-form-engine-lib@npm:3.1.4-pre.1777"
3375+
version: 3.1.4-pre.1779
3376+
resolution: "@openmrs/esm-form-engine-lib@npm:3.1.4-pre.1779"
33773377
dependencies:
33783378
"@carbon/react": "npm:^1.76.0"
33793379
classnames: "npm:^2.5.1"
@@ -3391,7 +3391,7 @@ __metadata:
33913391
react: 18.x
33923392
react-i18next: 11.x
33933393
swr: 2.x
3394-
checksum: 10/ea4637d7454de33089eb5476a7478a4e8b417696935ffa98c0832e02538d12b8d7045250148780e682e360501eae8c28ca85bf551efdd95941df62fd6369010b
3394+
checksum: 10/f60963f86ce2be16aecabaa301e336a1cbfa8c4c3d139c8091c4edc5673ddc1acd4377f4cd76c8b213c3e6c1dd86ac1e5f1eef433ce61b50e8a6a068a7a95cc1
33953395
languageName: node
33963396
linkType: hard
33973397

@@ -3470,8 +3470,8 @@ __metadata:
34703470
linkType: hard
34713471

34723472
"@openmrs/esm-patient-common-lib@npm:next":
3473-
version: 9.2.3-pre.7268
3474-
resolution: "@openmrs/esm-patient-common-lib@npm:9.2.3-pre.7268"
3473+
version: 9.2.3-pre.7283
3474+
resolution: "@openmrs/esm-patient-common-lib@npm:9.2.3-pre.7283"
34753475
dependencies:
34763476
"@carbon/react": "npm:^1.76.0"
34773477
lodash-es: "npm:^4.17.21"
@@ -3480,7 +3480,7 @@ __metadata:
34803480
"@openmrs/esm-framework": 6.x
34813481
react: 18.x
34823482
single-spa: 6.x
3483-
checksum: 10/3180e6c5d6cbdc06294aca0d8cf0ccb1bbcc9975ea9c1243b327a3bf7dc20cc67b851ed5caab22b472b7794eacb9fcd240a3fc72621c29ca4a27606d6f8817fc
3483+
checksum: 10/0ed654e96b3ee5c347d62221c209400b340a426ceeb399738afb62ddd5a78d502b22b9f7d702500b2125ed535e8a0ba8d4336982f97fca13315d5333daa68bab
34843484
languageName: node
34853485
linkType: hard
34863486

0 commit comments

Comments
 (0)