File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ name: "Scheduled Transifex Update"
99jobs :
1010 pull-translations-from-transifex :
1111 name : pull-translations-from-transifex
12-
12+
1313 runs-on : ubuntu-latest
1414 permissions :
1515 contents : write
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'
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 }}"
You can’t perform that action at this time.
0 commit comments