Skip to content

Commit 986bf13

Browse files
authored
Merge pull request #5048 from ralfhandl/main-adjust-linkspector-workflow
main: run validate_markdown action only on pull_request
2 parents b3f54f5 + fd8a112 commit 986bf13

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)