mirror of
https://github.com/go-gitea/gitea
synced 2025-08-08 10:38:21 +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:
17
.github/workflows/cron-licenses.yml
vendored
17
.github/workflows/cron-licenses.yml
vendored
@@ -1,21 +1,20 @@
|
||||
name: "Cron: Update licenses and gitignores"
|
||||
name: cron-licenses
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# weekly on Monday at 0:07 UTC
|
||||
- cron: "7 0 * * 1"
|
||||
- cron: "7 0 * * 1" # every Monday at 00:07 UTC
|
||||
|
||||
jobs:
|
||||
cron:
|
||||
cron-licenses:
|
||||
if: github.repository == "go-gitea/gitea"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '>=1.20.1'
|
||||
- name: update licenses and gitignores
|
||||
run: timeout -s ABRT 40m make generate-license generate-gitignore
|
||||
go-version: ">=1.20.1"
|
||||
- run: make generate-license generate-gitignore
|
||||
timeout-minutes: 40
|
||||
- name: push translations to repo
|
||||
uses: appleboy/git-push-action@v0.0.2
|
||||
with:
|
||||
|
Reference in New Issue
Block a user