Skip to content

Commit fd8a112

Browse files
committed
Run only on pull_request
1 parent b3f54f5 commit fd8a112

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/validate-markdown.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ name: validate-markdown
33
# Author: @MikeRalphson
44
# Issue: https://github.com/OAI/OpenAPI-Specification/issues/2130
55

6-
#
76
# This workflow validates markdown files in the project root.
87
# It also validates the work-in-progress specification file src/oas.md with slightly different rules.
9-
#
108

11-
# run this on push to any branch and creation of pull-requests
12-
on: [push, pull_request]
9+
# run this on pull requests (which includes pushes to their head branch)
10+
on:
11+
- pull_request
1312

1413
jobs:
1514
lint:

0 commit comments

Comments
 (0)