jazzband / djangorestframework-simplejwt

A JSON Web Token authentication plugin for the Django REST Framework.
https://django-rest-framework-simplejwt.readthedocs.io/
MIT License
3.83k stars 653 forks source link

Auto Update Locale Files #780

Closed dpgraham4401 closed 2 weeks ago

dpgraham4401 commented 3 months ago

This PR update workflow permissions to automatically create a PR to trunk (master/main) when locale files need to be updated. It also cleans up the existing workflow with newer dependencies including:

python 3.9 -> 3.12
action/checkout@v2 -> action/checkout@v4
create-pull-request@v3 -> create-pull-requests@v6
actions/setup-python@v2 -> actions/setup-python@v5

With the updated dependencies we now cache python dependencies with the built-in functionality instead of doing so manually.

We also only run this action if it's push to the jazzband org repo

This PR closes #462

dpgraham4401 commented 1 month ago

@aqeelat I've responded. Sorry I haven't thought about this PR in a couple months so I've forgotten a lot about the implementation details.

Happy to make modifications.

Andrew-Chen-Wang commented 2 weeks ago

I'd say let's give it a shot. Thanks so much @dpgraham4401 !