Copy CI configuration from ERPNext for regenerating the file with translatable strings once a week.
This does roughly the following:
Check out this repo's develop branch
Run bench generate-pot-file --app hrms
Create a PR in the name of Frappe PR Bot
This expects a repository secret named RELEASE_TOKEN, which should have permissions to push a branch and create a PR (I think this should be the bot's PAT).
Copy CI configuration from ERPNext for regenerating the file with translatable strings once a week.
This does roughly the following:
develop
branchbench generate-pot-file --app hrms
This expects a repository secret named
RELEASE_TOKEN
, which should have permissions to push a branch and create a PR (I think this should be the bot's PAT).Original Frappe PR for reference: https://github.com/frappe/frappe/pull/24467