Sync Spec files with docs OAS files as of 2026-02-18 #12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Version | |
| on: | |
| pull_request: | |
| types: [opened, labeled, unlabeled, synchronize] | |
| jobs: | |
| Version: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Check for changed OAS files | |
| id: changed-files-specific | |
| uses: tj-actions/changed-files@v41 | |
| with: | |
| files: | | |
| openapi/v*.yml | |
| - name: Require version label if openapi spec changed | |
| if: steps.changed-files-specific.outputs.any_changed == 'true' | |
| uses: mheap/github-action-required-labels@v4 | |
| with: | |
| mode: exactly | |
| count: 1 | |
| labels: "minor, patch" | |
| add_comment: true | |
| message: "This PR is blocked until you add one of the following labels: {{ provided }}. Once added you can merge." |