Skip to content

ci: move to trusted publishing (#8506) #29

ci: move to trusted publishing (#8506)

ci: move to trusted publishing (#8506) #29

Workflow file for this run

name: Release
# Orchestrates both production and development releases
on:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+'
workflow_dispatch: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
# Publish production release on tag push
release_prod:
name: 🚀 Production Release
if: startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/release-prod.yml
secrets: inherit
permissions:
contents: read # Required for checkout
packages: write # Required for Docker image publishing
id-token: write # Required for OIDC
# Publish development release on push to main
release_dev:
name: 🔧 Development Release
if: github.ref == 'refs/heads/main'
uses: ./.github/workflows/release-dev.yml
secrets: inherit
permissions:
contents: read # Required for checkout
pull-requests: write # Required for PR comment
id-token: write # Required for OIDC