Skip to content

fix(spans): corrects early-close for a few spans (#12887) #2

fix(spans): corrects early-close for a few spans (#12887)

fix(spans): corrects early-close for a few spans (#12887) #2

name: operator-release-please
on:
push:
paths:
- 'operator/**'
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
releasePlease:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.operator--release_created }}
release_name: ${{ steps.release.outputs.operator--tag_name }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
path: operator
config-file: operator/release-please-config.json
token: ${{ secrets.GH_TOKEN }}
publishRelease:
needs:
- "releasePlease"
runs-on: ubuntu-latest
if: ${{ needs.releasePlease.outputs.release_created }}
steps:
- name: "pull code to release"
uses: "actions/checkout@v4"
with:
path: "release"
- name: "publish release"
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
working-directory: "release"
run: |
gh release edit "${{ needs.releasePlease.outputs.release_name }}" --draft=false --latest=false