summaryrefslogtreecommitdiffstats
path: root/.github/workflows/cron-translations.yml
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2023-05-12 03:21:28 +0200
committerGitHub <noreply@github.com>2023-05-11 21:21:28 -0400
commit6c8b680f91a65ffe0401ac95cfba1737decd3977 (patch)
tree036c6e72f170f3975095627cf00fa0c112e8f052 /.github/workflows/cron-translations.yml
parent365bb77a5497d492836bf823cf780c823db27e8c (diff)
downloadgitea-6c8b680f91a65ffe0401ac95cfba1737decd3977.tar.gz
gitea-6c8b680f91a65ffe0401ac95cfba1737decd3977.zip
GitHub Actions cleanups (#24620)
- Remove actions name where command is descriptive enough - Use kebab-case instead of snake-case for step names - Use shorter job names because to make PR checks more readable - Remove duplicate `checks-backend` --------- Co-authored-by: Yarden Shoham <git@yardenshoham.com>
Diffstat (limited to '.github/workflows/cron-translations.yml')
-rw-r--r--.github/workflows/cron-translations.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/cron-translations.yml b/.github/workflows/cron-translations.yml
index c83450d2e6..97e1ff9739 100644
--- a/.github/workflows/cron-translations.yml
+++ b/.github/workflows/cron-translations.yml
@@ -1,15 +1,14 @@
-name: "Cron: Pull translations from Crowdin"
+name: cron-translations
on:
schedule:
- - cron: "7 0 * * *" # every day at 0:07 UTC
+ - cron: "7 0 * * *" # every day at 00:07 UTC
jobs:
- crowdin_pull:
+ crowdin-pull:
runs-on: ubuntu-latest
steps:
- - name: Checkout
- uses: actions/checkout@v3
+ - uses: actions/checkout@v3
- name: download from crowdin
uses: docker://jonasfranz/crowdin
env:
@@ -30,11 +29,10 @@ jobs:
commit_message: "[skip ci] Updated translations via Crowdin"
remote: "git@github.com:go-gitea/gitea.git"
ssh_key: ${{ secrets.DEPLOY_KEY }}
- crowdin_push:
+ crowdin-push:
runs-on: ubuntu-latest
steps:
- - name: Checkout
- uses: actions/checkout@v3
+ - uses: actions/checkout@v3
- name: push translations to crowdin
uses: docker://jonasfranz/crowdin
env: