Skip to content

Stub GH action for devoping new workflows [STUB] #231

Stub GH action for devoping new workflows [STUB]

Stub GH action for devoping new workflows [STUB] #231

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 }}"