Merge pull request #1376 from wazuh/change/1365-add-5-x-bumper-workfl… #2
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: Repository bumper 5.x | ||
| run-name: Bump ${{ github.ref_name }} (${{ inputs.id }}) | ||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| version: | ||
| description: 'Target version (e.g. 1.2.3)' | ||
| default: '' | ||
| required: false | ||
| type: string | ||
| stage: | ||
| description: 'Version stage (e.g. alpha0)' | ||
| default: '' | ||
| required: false | ||
| type: string | ||
| tag: | ||
| description: 'Change branches references to tag-like references (e.g. v4.12.0-alpha7)' | ||
| default: false | ||
| required: false | ||
| type: boolean | ||
| set_as_main: | ||
| description: "Enable main branch mode: bump version values only, keep branch references pointing to main" | ||
| required: false | ||
| type: boolean | ||
| default: false | ||
| issue-link: | ||
| description: 'Issue link in format https://github.com/wazuh/<REPO>/issues/<ISSUE-NUMBER>' | ||
| required: true | ||
| type: string | ||
| id: | ||
| description: 'Optional identifier for the run' | ||
| required: false | ||
| type: string | ||
| jobs: | ||
| bump: | ||
| name: Repository bumper 5.x | ||
| runs-on: ubuntu-22.04 | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||