Stub GH action for devoping new workflows [STUB] #231
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: UPDATE | |
on: | |
workflow_dispatch: | |
inputs: | |
logstash_version: | |
description: 'Logstash version' | |
required: true | |
type: string | |
logstash_branch: | |
description: 'Logstash branch' | |
required: true | |
type: string | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
bump: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
- 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 }}" |