diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml new file mode 100644 index 0000000..d2c863c --- /dev/null +++ b/.forgejo/workflows/release.yml @@ -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 diff --git a/.forgejo/workflows/renovate.yml b/.forgejo/workflows/renovate.yml new file mode 100644 index 0000000..f498456 --- /dev/null +++ b/.forgejo/workflows/renovate.yml @@ -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