Skip to content

Commit 7df78f5

Browse files
committed
chore: update GitHub workflows
1 parent a745a4e commit 7df78f5

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/create-github-release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ on:
55
branches:
66
- main
77
- prerelease/**
8-
- 252-patch
9-
- 254-patch
10-
- 256-patch
118
- 258-patch
9+
- 260-patch
1210
tags-ignore:
1311
- '*'
1412
workflow_dispatch:

.github/workflows/onRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
#ctc: true
4949
sign: true
5050
# At CLCO, the new patch branch's version will be released as 'prerelease'. After R2b, delete the logic below for 'latest' and update 'prerelease' candidate to 'latest'
51-
tag: ${{ needs.getDistTag.outputs.tag || (needs.getMajorVersion.outputs.major == '4' && 'latest') || 'next' }}
51+
tag: ${{ needs.getDistTag.outputs.tag || (needs.getMajorVersion.outputs.major == '4' && 'latest') || (needs.getMajorVersion.outputs.major == '5' && 'prerelease') || 'next' }}
5252
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
5353

5454
secrets: inherit

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: tests
22
on:
33
push:
4-
branches-ignore: [main, 252-patch, 254-patch, 256-patch, 258-patch]
4+
branches-ignore:
5+
- main
6+
- '2*-patch'
57
workflow_dispatch:
68

79
jobs:

.github/workflows/validate-pr.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ name: pr-validation
33
on:
44
pull_request:
55
types: [opened, reopened, edited]
6-
# only applies to PRs that want to merge to main
7-
branches: [main, 252-patch, 254-patch, 256-patch, 258-patch]
6+
# only applies to PRs that want to merge to main or patch branches
7+
branches:
8+
- main
9+
- '2*-patch'
810

911
jobs:
1012
pr-validation:

0 commit comments

Comments
 (0)