Skip to content
4 changes: 3 additions & 1 deletion .github/workflows/helm-charts-release-to-gh-oci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Release Charts

on:
workflow_call: {}
workflow_dispatch: {}
push:
branches:
- main

jobs:
release:
Expand Down
23 changes: 8 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,26 @@ name: Semantic Release

on:
workflow_dispatch: {}
push:
branches:
- main

permissions:
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
packages: write # to be able to publish a GitHub Packages

jobs:
git-tag-modify-helm-chart:
name: Helm Chart Github Tags
uses: "openmcp-project/blueprint-building-blocks/.github/workflows/git-tag-modified-helm-chart.yml@main"
secrets: inherit
git-release-create:
name: Release Create
uses: "openmcp-project/blueprint-building-blocks/.github/workflows/git-release-create.yml@main"
secrets: inherit
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
packages: write # to be able to publish a GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -47,9 +45,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.CO_GOLDEN_PATH_SERVICEUSER_GH_TOKEN }}
run: npx semantic-release
git-release-create:
uses: "openmcp-project/blueprint-building-blocks/.github/workflows/gh-pages-release.yml@main"
name: Helm Chart Github Releases
needs: release
secrets: inherit