Create release issue #139
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Create release issue" | |
| on: | |
| schedule: | |
| # Daily at midnight UTC. The dedup check ensures only one issue | |
| # is created per release cycle. | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| inputs: | |
| version: | |
| description: "Override version (e.g. 0.146.0). If empty, auto-detected from RELEASE.md." | |
| required: false | |
| type: string | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| create-release-issue: | |
| if: ${{ github.repository == 'open-telemetry/opentelemetry-operator' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Create release issue | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| INPUT_VERSION: ${{ inputs.version }} | |
| run: | | |
| if [ -n "$INPUT_VERSION" ]; then | |
| hack/create-release-issue.sh --version "$INPUT_VERSION" | |
| else | |
| hack/create-release-issue.sh | |
| fi |