Update Ultroid v0.8
--------- Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: Aditya <me@xditya.me> Co-authored-by: Dark <darkbeamer.official@gmail.com> Co-authored-by: buddhhu <amitsharma123234@gmail.com> Co-authored-by: Kaif <88398455+kaif-00z@users.noreply.github.com> Co-authored-by: 1Danish-00 <danish@ultroid.tech> Co-authored-by: TechiError <techierror@gmail.com> Co-authored-by: Dark <59723913+DarkBeamerYT@users.noreply.github.com>
This commit is contained in:
33
.github/workflows/autotranslate.yml
vendored
33
.github/workflows/autotranslate.yml
vendored
@@ -1,33 +0,0 @@
|
||||
name: Strings Translation
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ dev ]
|
||||
paths:
|
||||
- strings/strings/en.yml
|
||||
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Checkout Strings
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9.x
|
||||
- name: Update Translations
|
||||
run: |
|
||||
git config --global user.email "newdev0@outlook.com"
|
||||
git config --global user.name "New-Dev0"
|
||||
git branch translation && git checkout translation
|
||||
pip install pyyaml requests telethon
|
||||
wget -O run.py https://gist.githubusercontent.com/New-dev0/c7d0d1eb514d311e8e3b687ae5cbe5f3/raw/350cc6d451a02a4b07d0f9bbc27b0e7c9465d3d4/updater.py
|
||||
python3 run.py
|
||||
rm run.py
|
||||
git add . && git commit -m "[Auto] Translate" && git push --set-upstream origin translation
|
||||
gh pr create --title "[Auto] Translation" -B dev --body "Update Translation"
|
||||
1
.github/workflows/pylint.yaml
vendored
1
.github/workflows/pylint.yaml
vendored
@@ -13,6 +13,7 @@ jobs:
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.8
|
||||
cache: "pip"
|
||||
- name: Install Python lint libraries
|
||||
run: pip install autopep8 autoflake isort black
|
||||
- name: Check for showstoppers
|
||||
|
||||
Reference in New Issue
Block a user