generated from LabyMod/addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 1.19 KB
/
accent.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Accent sync
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
env:
ACCENT_API_KEY: ${{ secrets.ACCENT_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install -g accent-cli
- run: accent sync --add-translations --merge-type=passive
- uses: peter-evans/create-pull-request@v4
with:
branch: accent
title: New translations are available to merge
body: Translation files have been updated, feel free to merge this pull request after review.
add-paths: "core/src/main/resources/assets/deathfinder/i18n/*.json"
commit-message: Update Accent
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
draft: false
delete-branch: true
assignees: RappyTV
labels: translations