Skip to content

Commit 405ac40

Browse files
committed
Enable the workflow for merged PRs against the develop branch
1 parent f55f362 commit 405ac40

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/markdown_equations.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ name: markdown_equations
2121

2222
# Workflow triggers:
2323
on:
24-
# push:
25-
# branches:
26-
# - develop
27-
# paths:
28-
# # List paths for which changes should trigger this workflow:
29-
# - 'lib/**/*.md'
24+
pull_request:
25+
branches:
26+
- develop
27+
types:
28+
- closed
29+
paths:
30+
# List paths for which changes should trigger this workflow:
31+
- 'lib/**/*.md'
3032

3133
# Workflow jobs:
3234
jobs:
@@ -37,6 +39,9 @@ jobs:
3739
# Define a display name:
3840
name: 'Update equations'
3941

42+
# Only run this job if the pull request was merged:
43+
if: github.event.pull_request.merged == true
44+
4045
# Define the type of virtual host machine:
4146
runs-on: ubuntu-latest
4247

0 commit comments

Comments
 (0)