bump-logstash-version #26
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: bump-logstash-version | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| logstash_version: | |
| description: 'Logstash version to update TO (example: 9.1.4)' | |
| required: true | |
| type: string | |
| logstash_branch: | |
| description: 'Logstash branch (example: 9.1)' | |
| required: true | |
| type: string | |
| logstash_release_track: | |
| description: 'Release track (example: 9.current, 9.previous, main)' | |
| required: true | |
| type: string | |
| jobs: | |
| bump: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: elastic/oblt-actions/updatecli/run@v1 | |
| with: | |
| command: apply --config .ci/updatecli/bump-logstash-version.yml --values .ci/updatecli/values.d/scm.yml | |
| version-file: .updatecli-version | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LOGSTASH_BRANCH: "${{ github.event.inputs.logstash_branch }}" | |
| LOGSTASH_VERSION: "${{ github.event.inputs.logstash_version }}" | |
| LOGSTASH_RELEASE_TRACK: "${{ github.event.inputs.logstash_release_track }}" |