Skip to content

Conversation

@dpgraham4401
Copy link
Contributor

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

…o be updated and clean up the workflow with newer dependencies including:

    python 3.9 -> 3.12
    GH 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.

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

@50-Course 50-Course left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for sending in this patch! the approach to validate only against upstream is a very nice idea!

Good work @dpgraham4401 🚀

Copy link
Member

@aqeelat aqeelat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few questions

@dpgraham4401
Copy link
Contributor Author

@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
Copy link
Member

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

@Andrew-Chen-Wang Andrew-Chen-Wang merged commit 3b71b89 into jazzband:master May 1, 2024
@dpgraham4401 dpgraham4401 deleted the locale_auto_update branch May 1, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto update locale files

4 participants