Skip to content

Commit fc00511

Browse files
committed
Merge branch 'feature/refresh-saes'
2 parents eaff5c3 + 9810dc4 commit fc00511

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release-on-merge.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
name: Release on merge to main
22

33
on:
4-
push:
4+
pull_request:
5+
types:
6+
- closed
57
branches:
68
- main
79

810
jobs:
911
release:
10-
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release') || startsWith(github.event.pull_request.head.ref, 'feature') || startsWith(github.event.pull_request.head.ref, 'bug')
12+
if: github.event.pull_request.merged == true && (startsWith(github.event.pull_request.head.ref, 'release') || startsWith(github.event.pull_request.head.ref, 'feature') || startsWith(github.event.pull_request.head.ref, 'bug'))
1113
runs-on: ubuntu-latest
1214
steps:
1315
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)