Skip to content

Commit 606f65a

Browse files
updated workflow to trigger on merge
1 parent 54ca356 commit 606f65a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
push:
77
tags:
88
- '*' # Push events to every tag not containing /
9+
pull_request:
10+
types:
11+
- closed
912
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
1013

1114
env:
@@ -15,8 +18,8 @@ env:
1518

1619
jobs:
1720
build:
21+
if: github.event.pull_request.merged == true
1822
runs-on: ubuntu-latest
19-
2023
steps:
2124
- name: Checkout
2225
uses: actions/checkout@v3

0 commit comments

Comments
 (0)