mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-24 22:06:57 +00:00
fix triggers
This commit is contained in:
parent
8a0c60ab97
commit
3ceef03163
2 changed files with 40 additions and 12 deletions
|
@ -1,9 +1,7 @@
|
|||
when:
|
||||
- event: [pull_request, tag, cron]
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
- renovate/*
|
||||
branch: renovate/*
|
||||
|
||||
steps:
|
||||
lint:
|
||||
|
@ -15,7 +13,15 @@ steps:
|
|||
- go install mvdan.cc/gofumpt@latest
|
||||
- "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }"
|
||||
- golangci-lint run --timeout 5m --build-tags integration
|
||||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: renovate/*
|
||||
|
||||
editor-config:
|
||||
depends_on: []
|
||||
image: mstruebing/editorconfig-checker:2.7.2
|
||||
when:
|
||||
- event: pull_request
|
||||
- event: push
|
||||
branch: renovate/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue