Skip to content

Commit 05662ea

Browse files
authored
Merge pull request #425 from OpenVoxProject/main-prep-for-8.x
Changes to prepare for 8.x branching
2 parents 57e5eb2 + 76ced6d commit 05662ea

4 files changed

Lines changed: 22 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ on:
3333
required: false
3434
type: boolean
3535
default: false
36+
branch:
37+
description: 'The release branch to build from.'
38+
type: choice
39+
options:
40+
- main
41+
- '8.x'
42+
default: 'main'
3643

3744
jobs:
3845
build:
@@ -45,6 +52,7 @@ jobs:
4552
vanagon_branch: ${{ inputs.vanagon_branch }}
4653
upload_to_s3: ${{ inputs.upload_to_s3 }}
4754
working_directory: 'packaging'
55+
branch: ${{ inputs.branch }}
4856
secrets: inherit
4957
build_dev:
5058
if: ${{ github.event.inputs.use_dev == 'true' }}
@@ -56,4 +64,5 @@ jobs:
5664
vanagon_branch: ${{ inputs.vanagon_branch }}
5765
upload_to_s3: ${{ inputs.upload_to_s3 }}
5866
working_directory: 'packaging'
67+
branch: ${{ inputs.branch }}
5968
secrets: inherit

.github/workflows/prepare_release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88
required: true
99
type: string
1010
base-branch:
11-
description: 'The branch that will be used as the origin for the release branch.'
12-
required: false
13-
default: ''
14-
type: string
11+
description: 'The branch to release from.'
12+
type: choice
13+
options:
14+
- main
15+
- '8.x'
16+
default: 'main'
1517

1618
permissions: {}
1719

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ on:
88
required: true
99
type: string
1010
base-branch:
11-
description: 'The branch where we do this release.'
12-
required: false
13-
default: ''
14-
type: string
11+
description: 'The branch to release from.'
12+
type: choice
13+
options:
14+
- main
15+
- '8.x'
16+
default: 'main'
1517

1618
permissions: {}
1719

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: RSpec tests
33

44
on:
5-
pull_request: {}
5+
pull_request: { branches: ['main'] }
66
push:
77
branches:
88
- main

0 commit comments

Comments
 (0)