Skip to content

Commit

Permalink
Open PR on i18n (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Chen-Wang authored Feb 28, 2022
1 parent 483d9b8 commit fdc7923
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@ jobs:
run: |
python ../scripts/i18n_updater.py
- name: Commit locale changes
uses: stefanzweifel/git-auto-commit-action@v4
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
id: auto-commit-action
with:
branch: i18n-auto-update
title: "[i18n] Update"
body: "Updated locale files on master branch"
commit_message: "Update locale files"
file_pattern: rest_framework_simplejwt/locale/**
commit_user_name: Andrew-Chen-Wang
commit_user_email: [email protected]
commit_author: Andrew-Chen-Wang <[email protected]>
add-paths: rest_framework_simplejwt/locale/**

- name: Tell whether locale updated
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: echo "Locale files updated"
run: echo "Locale updated at ${steps.auto-commit-aciton.outputs.pull-request-url}"

0 comments on commit fdc7923

Please sign in to comment.