From fd8a1122e9a43a455a0a4ee3b5aa9aca2a92546d Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Sun, 19 Oct 2025 18:01:17 +0200 Subject: [PATCH] Run only on pull_request --- .github/workflows/validate-markdown.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate-markdown.yaml b/.github/workflows/validate-markdown.yaml index dde321f093..a7c148308e 100644 --- a/.github/workflows/validate-markdown.yaml +++ b/.github/workflows/validate-markdown.yaml @@ -3,13 +3,12 @@ name: validate-markdown # Author: @MikeRalphson # Issue: https://github.com/OAI/OpenAPI-Specification/issues/2130 -# # This workflow validates markdown files in the project root. # It also validates the work-in-progress specification file src/oas.md with slightly different rules. -# -# run this on push to any branch and creation of pull-requests -on: [push, pull_request] +# run this on pull requests (which includes pushes to their head branch) +on: + - pull_request jobs: lint: