Skip to content

Commit f9c40b1

Browse files
committed
Trigger workflow on pull requests
1 parent 4a07823 commit f9c40b1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/repl_docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ name: repl_docs
2121

2222
# Workflow triggers:
2323
on:
24-
push:
24+
pull_request:
2525
branches:
2626
- develop
27+
types:
28+
- closed
2729
paths:
2830
# List paths for which changes should trigger this workflow:
2931
- 'lib/**/namespace/lib/**'
@@ -44,6 +46,9 @@ jobs:
4446
# Define a display name:
4547
name: 'Update REPL docs'
4648

49+
# Only run this job if the pull request was merged:
50+
if: github.event.pull_request.merged == true
51+
4752
# Define the type of virtual host machine:
4853
runs-on: ubuntu-latest
4954

0 commit comments

Comments
 (0)