mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 20:48:20 +00:00
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>
This commit is contained in:
14
.github/workflows/cron-translations.yml
vendored
14
.github/workflows/cron-translations.yml
vendored
@@ -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:
|
||||
|
Reference in New Issue
Block a user