| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- when:
- event:
- - push
- - pull_request
- - manual
- steps:
- pre-commit:
- image: python:3.12
- commands:
- - python -m pip install pre-commit
- - export SKIP=redocly-lint
- - pre-commit run -a
- lint-openapi:
- image: node:22
- commands:
- - npm i -g @redocly/cli@latest
- - make lint
- semantic-release:
- image: node:22
- secrets:
- - SEMANTIC_RELEASE_TOKEN
- commands:
- - |
- npm i -g @saithodev/semantic-release-gitea \
- @bjoluc/semantic-release-config-poetry \
- @semantic-release/git \
- @semantic-release/changelog \
- @semantic-release/exec \
- @google/semantic-release-replace-plugin \
- prettier;
- - export GITEA_URL=https://git.snas.black-burn.ch
- - export GITEA_TOKEN=$${SEMANTIC_RELEASE_TOKEN}
- - semantic-release
- when:
- branch:
- - "*.*.x"
- - main
- - master
- - next
- - next-major
- - beta
- - alpha
|