Skip to content

Commit b5c52cb

Browse files
authored
CI fixes (#1072)
* Update test built package trigger * Update release triggers
1 parent 72f55c6 commit b5c52cb

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ on:
44
pull_request:
55
types:
66
- closed
7-
branches:
8-
- release/**
9-
- prerelease/**
107

118
jobs:
129
release:
1310
name: Release
14-
if: ${{ github.event.pull_request.merged }}
11+
if: ${{ github.event.pull_request.merged }} && (startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'prerelease/'))
1512
runs-on: ubuntu-latest
1613
steps:
1714
- uses: actions/checkout@v2

.github/workflows/test-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: Test built package
33
on:
44
pull_request:
55
branches:
6-
- 'release/**'
7-
- 'prerelease/**'
6+
- main
87

98
jobs:
109
test-build:
10+
if: startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'prerelease/')
1111
name: Test build
1212
runs-on: ubuntu-latest
1313
steps:

0 commit comments

Comments
 (0)