aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/license-header.yml22
-rw-r--r--.github/workflows/sources.yml19
-rw-r--r--.github/workflows/strings.yml22
-rw-r--r--.github/workflows/translations.yml60
4 files changed, 0 insertions, 123 deletions
diff --git a/.github/workflows/license-header.yml b/.github/workflows/license-header.yml
deleted file mode 100644
index d6935dcac9..0000000000
--- a/.github/workflows/license-header.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: eden-license
-
-on:
- pull_request:
- branches: [ master ]
-
-jobs:
- license-header:
- runs-on: source
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Fetch
- run: git fetch origin master:master
-
- - name: Make script executable
- run: chmod +x ./.ci/license-header.sh
-
- - name: Check license headers
- run: ./.ci/license-header.sh
diff --git a/.github/workflows/sources.yml b/.github/workflows/sources.yml
deleted file mode 100644
index 8e98419cba..0000000000
--- a/.github/workflows/sources.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: tx-src
-
-on:
- push:
- branches: [ master ]
-
-jobs:
- sources:
- runs-on: source
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Push New Sources
- run: |
- export PATH=/usr/lib/qt6/bin:$PATH
- ./tools/translations/qt-source.sh
- tx-cli push -s
diff --git a/.github/workflows/strings.yml b/.github/workflows/strings.yml
deleted file mode 100644
index ae8a7220e1..0000000000
--- a/.github/workflows/strings.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-name: Check Strings
-
-on:
- push:
- branches: [ master ]
-
-jobs:
- check-strings:
- runs-on: source
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Find Unused Strings
- run: ./tools/unused-strings.sh
-
- - name: Find Stale Translations
- run: ./tools/stale-translations.sh
-
- - name: Diff
- run: git --no-pager diff --exit-code HEAD
diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml
deleted file mode 100644
index 16ce4f1808..0000000000
--- a/.github/workflows/translations.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-name: tx-pull
-
-on:
- # monday, wednesday, saturday at 2pm
- schedule:
- cron: '0 14 * * 1,3,6'
- workflow_dispatch:
-
-jobs:
- tx-update:
- runs-on: source
- steps:
- - uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Get New Translations
- run: tx-cli pull -t -f
-
- - name: Push branch
- run: |
- git config --local user.name "Eden CI"
- git config --local user.email "ci@eden-emu.dev"
- git config --local user.signingkey "D57652791BB25D2A"
- git config --local push.autoSetupRemote true
-
- git remote set-url origin ci:eden-emu/eden.git
-
- TIMESTAMP=$(date +"%s")
- echo "TIMESTAMP=$TIMESTAMP" >> "$GITHUB_ENV"
-
- git switch -c update-translations-$TIMESTAMP
- git add dist src/android/app/src/main/res
-
- git commit -sS -m "[dist, android] Update translations from Transifex"
- git push
-
- - name: Create PR
- run: |
- DATE=$(date +"%b %d")
- TITLE="[dist, android] Update translations from Transifex for $DATE"
- BODY="Automatic translation update for $DATE"
- BASE=master
- HEAD=update-translations-$TIMESTAMP
-
- cat << EOF > data.json
- {
- "base": "$BASE",
- "body": "$BODY",
- "head": "$HEAD",
- "title": "$TITLE"
- }
- EOF
-
- curl -X 'POST' \
- 'https://git.eden-emu.dev/api/v1/repos/eden-emu/eden/pulls' \
- -H 'accept: application/json' \
- -H 'Authorization: Bearer ${{ secrets.CI_FJ_TOKEN }}' \
- -H 'Content-Type: application/json' \
- -d "@data.json" --fail