Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pablo1v/crowdin-updater
A flexible action that updates another repository based on current modifications.
https://github.com/pablo1v/crowdin-updater
action actions crowdin github
Last synced: about 1 month ago
JSON representation
A flexible action that updates another repository based on current modifications.
- Host: GitHub
- URL: https://github.com/pablo1v/crowdin-updater
- Owner: pablo1v
- License: mit
- Created: 2020-05-18T20:32:50.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T16:09:38.000Z (about 1 month ago)
- Last Synced: 2024-11-26T17:22:56.766Z (about 1 month ago)
- Topics: action, actions, crowdin, github
- Language: JavaScript
- Homepage:
- Size: 393 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crowdin-updater
A flexible action that updates another repository based on current modifications.
## Inspiration
Projects that use Crowdin to locate their service, usually create a repository to store and synchronize the necessary files.
However, in all cases, updating it would have to be done manually and this is boring and very laborious for large projects. It was there that the idea of creating a simple flow, easy to set up, and that delivers what it promises was sparked.### Limitations
- Do not merge the SSH key on the running machine.
- Only filters JSON `.json` files (flexible in future updates).## Usage
As stated above, this action does not merge an SSH key to perform required actions such as PUSH/CLONE, since on the one hand this can be a problem but on the other hand you can use another action of your choice to do this, for example **[webfactory/ssh-agent](https://github.com/webfactory/ssh-agent)** which will be used as an example below.
```yaml
- name: Set SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_TOKEN }}- uses: pablo1v/crowdin-updater@master
with:
# Repository to which updates will be sent
# Use SSH Link for private repository
# Required
target-repository: ''# Directory where the translation files are allocated
# Required
locale-path: ''# Directory where the translation files will be sent and updated
# Required
upload-path: ''# Message that will be linked to the commit
# Default: Upload Translates
commit-message: ''# Name that will be linked to the commit
# Default: TranslateAction
user-name: ''# Email that will be linked to the commit
# Default: [email protected]
user-email: ''
```## License
MIT - Check [License File](https://github.com/pablo1v/crowdin-updater/blob/main/LICENSE)