We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12fb10d commit 207f1c0Copy full SHA for 207f1c0
1 file changed
.github/workflows/markdown_tocs.yml
@@ -21,6 +21,12 @@ name: markdown_tocs
21
22
# Workflow triggers:
23
on:
24
+ pull_request:
25
+ branches:
26
+ - develop
27
+ types:
28
+ - closed
29
+
30
# Allow the workflow to be manually run:
31
workflow_dispatch:
32
@@ -33,6 +39,9 @@ jobs:
33
39
# Define a display name:
34
40
name: 'Update namespace ToCs'
35
41
42
+ # Only run this job if the pull request was merged:
43
+ if: github.event.pull_request.merged == true
44
36
45
# Define the type of virtual host machine:
37
46
runs-on: ubuntu-latest
38
47
0 commit comments