Skip to content

Commit c4a541b

Browse files
committed
(chore) Add id to CPR step to trigger full workflow
1 parent 349b5e3 commit c4a541b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tx-pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name: "Scheduled Transifex Update"
99
jobs:
1010
pull-translations-from-transifex:
1111
name: pull-translations-from-transifex
12-
12+
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: write
@@ -23,6 +23,7 @@ jobs:
2323
token: ${{ secrets.TRANSIFEX_TOKEN }}
2424
args: pull --force --all
2525
- name: 🔄 Create PR if necessary
26+
id: cpr
2627
uses: peter-evans/create-pull-request@v7
2728
with:
2829
commit-message: '(chore) Update translations from Transifex'
@@ -36,7 +37,6 @@ jobs:
3637
branch: 'chore/update-transifex'
3738
author: 'OpenMRS Bot <infrastructure@openmrs.org>'
3839
token: ${{ secrets.OMRS_BOT_GH_TOKEN }}
39-
# Step 4: Auto-approve the PR if created or updated
4040
- name: ✅ Auto approve PR
4141
if: steps.cpr.outputs.pull-request-operation == 'created' || steps.cpr.outputs.pull-request-operation == 'updated'
4242
run: gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"

0 commit comments

Comments
 (0)