Skip to content

Commit 230bf42

Browse files
authored
Merge pull request #1376 from wazuh/change/1365-add-5-x-bumper-workflow-to-main
Added 5_bumper_repository workflow file to main branch
2 parents 899821c + c0f59cf commit 230bf42

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Repository bumper 5.x
2+
run-name: Bump ${{ github.ref_name }} (${{ inputs.id }})
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
version:
8+
description: 'Target version (e.g. 1.2.3)'
9+
default: ''
10+
required: false
11+
type: string
12+
stage:
13+
description: 'Version stage (e.g. alpha0)'
14+
default: ''
15+
required: false
16+
type: string
17+
tag:
18+
description: 'Change branches references to tag-like references (e.g. v4.12.0-alpha7)'
19+
default: false
20+
required: false
21+
type: boolean
22+
set_as_main:
23+
description: "Enable main branch mode: bump version values only, keep branch references pointing to main"
24+
required: false
25+
type: boolean
26+
default: false
27+
issue-link:
28+
description: 'Issue link in format https://github.com/wazuh/<REPO>/issues/<ISSUE-NUMBER>'
29+
required: true
30+
type: string
31+
id:
32+
description: 'Optional identifier for the run'
33+
required: false
34+
type: string
35+
36+
jobs:
37+
bump:
38+
name: Repository bumper 5.x
39+
runs-on: ubuntu-22.04
40+
permissions:
41+
contents: write
42+
pull-requests: write

0 commit comments

Comments
 (0)