refactor(ci): add release + renovate workflows (identical across all projects)
All 3 projects share exact same 3 workflows: - ci.yml (ci-full) → build, test, coverage, docker, trivy - release.yml (ci-release) → version, publish, release, docker - renovate.yml (ci-renovate) → dependency updates
This commit is contained in:
1 parent
ff65c73724
commit
4d4ae955d9
2 files changed
+66
No files matched your search
@@ -0,0 +1,35 @@
|
||||
# Release Pipeline (unifiée via nonobis/templates)
|
||||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
concurrency:
|
||||
group: release-${{ forgejo.ref }}
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: debian-12
|
||||
enable-openid-connect: true
|
||||
steps:
|
||||
- uses: https://forgejo.tordais.cc/actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- uses: https://forgejo.tordais.cc/actions/checkout@v4
|
||||
with:
|
||||
repository: nonobis/templates
|
||||
token: ${{ secrets.TEMPLATES_PAT }}
|
||||
path: .ci
|
||||
ref: main
|
||||
|
||||
- uses: ./.ci/.forgejo/actions/ci-release
|
||||
with:
|
||||
project: heimdall
|
||||
vault-url: https://vault.tordais.cc
|
||||
publish-project: src/Heimdall.Web/Heimdall.Web.csproj
|
||||
dockerfile: docker/Dockerfile
|
||||
docker-image: nonobis/heimdall
|
||||
@@ -0,0 +1,31 @@
|
||||
# Renovate Dependency Updates (unifiée via nonobis/templates)
|
||||
name: Renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 8 * * 1'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
|
||||
concurrency:
|
||||
group: renovate-${{ forgejo.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: debian-12
|
||||
steps:
|
||||
- uses: https://forgejo.tordais.cc/actions/checkout@v4
|
||||
|
||||
- uses: https://forgejo.tordais.cc/actions/checkout@v4
|
||||
with:
|
||||
repository: nonobis/templates
|
||||
token: ${{ secrets.TEMPLATES_PAT }}
|
||||
path: .ci
|
||||
ref: main
|
||||
|
||||
- uses: ./.ci/.forgejo/actions/ci-renovate
|
||||
with:
|
||||
project: nonobis/heimdall
|
||||
Reference in new issue
Block a user