Skip to content

Merge pull request #80 from YuminosukeSato/ci/v0.5.0-helm-kustomize-lint #8

Merge pull request #80 from YuminosukeSato/ci/v0.5.0-helm-kustomize-lint

Merge pull request #80 from YuminosukeSato/ci/v0.5.0-helm-kustomize-lint #8

Workflow file for this run

name: Release
on:
push:
tags:
- "v*.*.*"
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install syft
uses: anchore/sbom-action/download-syft@v0
- name: Generate Go SBOM
run: syft dir:. --exclude ./worker/python -o cyclonedx-json=sbom-go.cdx.json
- name: Generate Python SBOM
run: syft dir:worker/python -o cyclonedx-json=sbom-python.cdx.json
- name: Generate Release Notes and Create Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
draft: false
prerelease: ${{ contains(github.ref, '-') }}
files: |
sbom-go.cdx.json
sbom-python.cdx.json
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}