# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl

name: SYNOPSIS

on:
  push:
    branches:
      - master
      - '*/ci'
    paths:
      - 'docs/libcurl/curl_*.md'
      - 'scripts/*.pl'
      - '.github/workflows/*.yml'
  pull_request:
    branches:
      - master
    paths:
      - 'docs/libcurl/curl_*.md'
      - 'scripts/*.pl'
      - '.github/workflows/*.yml'

permissions: {}

jobs:
  verify:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

      - name: verify-synopsis
        run: ./.github/scripts/verify-synopsis.pl docs/libcurl/curl*.md
